We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 525e2b4 commit d3d73d5Copy full SHA for d3d73d5
autoload/fish.vim
@@ -20,7 +20,7 @@ function! fish#Indent()
20
endfunction
21
22
function! fish#Format()
23
- if !empty(v:char)
+ if mode() =~# '\v^%(i|R)$'
24
return 1
25
else
26
let l:command = v:lnum.','.(v:lnum+v:count-1).'!fish_indent'
0 commit comments