Merge branch 'kayw-command-bar'
This commit is contained in:
commit
546de9287d
@ -272,7 +272,7 @@ endfunction
|
||||
|
||||
" Create a command for formatting the entire buffer
|
||||
" Save and recall window state to prevent vim from jumping to line 1
|
||||
command! -nargs=? -range=% -complete=filetype Autoformat let winview=winsaveview()|<line1>,<line2>call s:TryAllFormatters(<f-args>)|call winrestview(winview)
|
||||
command! -nargs=? -range=% -complete=filetype -bar Autoformat let winview=winsaveview()|<line1>,<line2>call s:TryAllFormatters(<f-args>)|call winrestview(winview)
|
||||
|
||||
|
||||
" Functions for iterating through list of available formatters
|
||||
|
Loading…
Reference in New Issue
Block a user