16 lines
428 B
VimL
16 lines
428 B
VimL
if !exists("b:sh_indent_options")
|
|
let b:sh_indent_options = {}
|
|
endif
|
|
|
|
let b:sh_indent_options['continuation-line'] = 2
|
|
|
|
" command! -buffer -bang Lint compiler shfmt | lmake<bang>
|
|
" command! -buffer -bang Compile compiler shellcheck | make<bang>
|
|
|
|
" augroup linty
|
|
" au! * <buffer>
|
|
" au BufWritePre <buffer=abuf> Lint
|
|
" au BufWritePost <buffer=abuf> :silent Compile
|
|
" au QuickFixCmdPost make cwindow
|
|
" augroup END
|