mirror of https://tildegit.org/ben/dotfiles
update vim submodules
parent
9ac23a93f5
commit
dc41bf9df1
|
@ -1 +1 @@
|
|||
Subproject commit 91b67e3ca2d7bc66544724f9c702265c564a1f2e
|
||||
Subproject commit ebb89a0846ff8b8bc64579155d661b825f97d3f2
|
|
@ -1 +1 @@
|
|||
Subproject commit ff04324bffd86f9c146cc5fc2c0a2f95a1509643
|
||||
Subproject commit 66a921bbe38bea19f6b581c8a56d5a8a41209e35
|
|
@ -0,0 +1,17 @@
|
|||
" .vim/ftplugin/sh.vim
|
||||
" formatprg and makeprg config for bash shit
|
||||
|
||||
|
||||
" go https://github.com/mvdan/sh#shfmt
|
||||
" gggqG
|
||||
if executable('shfmt')
|
||||
setlocal formatprg=shfmt
|
||||
endif
|
||||
|
||||
" cabal or npm https://github.com/koalaman/shellcheck#installing
|
||||
" <space>m
|
||||
if executable('shellcheck')
|
||||
setlocal makeprg=shellcheck\ -f\ gcc\ %
|
||||
nnoremap <buffer><space>m :silent make! % \| redraw!<cr>
|
||||
endif
|
||||
|
Loading…
Reference in New Issue