diff options
author | Anna “CyberTailor” <cyber@sysrq.in> | 2021-07-13 16:30:54 +0500 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-13 13:38:42 +0200 |
commit | f3966209e5941ee3139425c5e375d373c1026923 (patch) | |
tree | ab6d6ecc6d5eb5fa42fd1a45527deaec6a24f322 /contrib/README | |
parent | a556718a24d003523b7fb0406061e7f89291b14e (diff) |
contrib/vim: add Syntastic integration
Error and warning messages are prefixed with "error: " and "warning: "
correspondingly to ease integration with automated tooling.
`yywarn' function added. Off-by-one line numbers in warnings are fixed.
Two error messages are reworded to avoid repeating like
"error: error in server directive" or "error: syntax error".
Diffstat (limited to 'contrib/README')
-rw-r--r-- | contrib/README | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/README b/contrib/README index c57932c..ab45f9b 100644 --- a/contrib/README +++ b/contrib/README @@ -16,4 +16,8 @@ gmid.service vim Syntax highlighting of gmid configuration for vim, to be - placed into ~/.vim/ or /usr/share/vim/vimfiles. + placed into ~/.vim/ or /usr/share/vim/vimfiles/. + + To enable Syntastic checker, put this line in your vimrc: + + let g:syntastic_gmid_checkers = ['gmid'] |