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 %{
|
def -hidden _fish_filter_around_selections %{
|
||||||
# remove trailing white spaces
|
eval -draft -itersel %{
|
||||||
try %{ exec -draft -itersel <a-x>s\h+$<ret>d }
|
# remove trailing white spaces
|
||||||
|
try %{ exec -draft <a-x>s\h+$<ret>d }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def -hidden _fish_indent_on_char %{
|
def -hidden _fish_indent_on_char %{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user