mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-26 21:22:00 +03:00
slight refactor in _fish_filter_around_selections command
This commit is contained in:
parent
0e185c54ef
commit
f0820bc83d
@ -34,8 +34,10 @@ addhl -group /fish/code regex \b(and|begin|bg|bind|block|break|breakpoint|builti
|
||||
# ‾‾‾‾‾‾‾‾
|
||||
|
||||
def -hidden _fish_filter_around_selections %{
|
||||
# remove trailing white spaces
|
||||
try %{ exec -draft -itersel <a-x>s\h+$<ret>d }
|
||||
eval -draft -itersel %{
|
||||
# remove trailing white spaces
|
||||
try %{ exec -draft <a-x>s\h+$<ret>d }
|
||||
}
|
||||
}
|
||||
|
||||
def -hidden _fish_indent_on_char %{
|
||||
|
Loading…
Reference in New Issue
Block a user