mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] add a makeprg for awk
This commit is contained in:
parent
432cb47135
commit
a281507269
1 changed files with 4 additions and 0 deletions
4
nvim/after/ftplugin/awk.vim
Normal file
4
nvim/after/ftplugin/awk.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
" <https://stackoverflow.com/a/7212314/12005228>
|
||||
let &l:makeprg = 'awk --lint --source "BEGIN{exit(0)}END{exit(0)}" --file %:S'
|
||||
" <https://github.com/WolfgangMehner/vim-plugins/blob/a673942f0b7fe9cbbb19282ee4c3ebe5decf2a1d/plugin/awk-support.vim#L570>
|
||||
let &l:errorformat = 'awk: %f:%l: %m'
|
Loading…
Add table
Add a link
Reference in a new issue