Added shellcheck with vim integration
This commit is contained in:
parent
7f348b0268
commit
a4bbc226f2
6
.vimrc
6
.vimrc
@ -144,6 +144,12 @@ if has("autocmd")
|
||||
" Set filetype tab settings
|
||||
autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
|
||||
" ShellCheck settings
|
||||
autocmd FileType sh set makeprg=shellcheck\ -f\ gcc\ %
|
||||
autocmd FileType sh au BufWritePost * :silent make | redraw!
|
||||
autocmd FileType sh au QuickFixCmdPost [^l]* nested cwindow
|
||||
autocmd FileType sh au QuickFixCmdPost l* nested lwindow
|
||||
endif
|
||||
|
||||
|
||||
|
@ -17,3 +17,4 @@ packages:
|
||||
pattern:devel_basis: { status: installed }
|
||||
wireguard-tools: { status: installed }
|
||||
myspell-sv_SE: { status: installed }
|
||||
ShellCheck: { status: installed }
|
||||
|
Loading…
Reference in New Issue
Block a user