nvim/ftplugin/sh.vim

3 lines
74 B
VimL

setlocal makeprg=shellcheck\ -f\ gcc\ %
nnoremap <buffer> <F5> :w !sh<cr>