diff options
author | Jakob Schnitzer | 2017-03-14 20:44:56 -0300 |
---|---|---|
committer | Jakob Schnitzer | 2017-03-20 13:48:58 -0300 |
commit | 6600558bc68b5a42ac59cca8fd2cac4dac7f8417 (patch) | |
tree | 1809329c0ba34f6d0ab6e3dd94b27f3ae316699b /compiler/beancount.vim | |
parent | ff250e32b2e74fe3ca6c2e85abf4e8c3eff230cf (diff) | |
download | vim-beancount-6600558bc68b5a42ac59cca8fd2cac4dac7f8417.tar.gz |
fix remaining lint issues
Diffstat (limited to 'compiler/beancount.vim')
-rw-r--r-- | compiler/beancount.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/beancount.vim b/compiler/beancount.vim index 5bcaa15..b6db2d3 100644 --- a/compiler/beancount.vim +++ b/compiler/beancount.vim @@ -1,19 +1,19 @@ -if exists("current_compiler") +if exists('g:current_compiler') finish endif -let current_compiler = "beancount" +let g:current_compiler = 'beancount' -if exists(":CompilerSet") != 2 " older Vim always used :setlocal +if exists(':CompilerSet') != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif -let s:cpo_save = &cpo -set cpo-=C +let s:cpo_save = &cpoptions +set cpoptions-=C CompilerSet makeprg=bean-check\ % CompilerSet errorformat=%-G " Skip blank lines CompilerSet errorformat+=%f:%l:\ %m " File:line: message CompilerSet errorformat+=%-G\ %.%# " Skip indented lines. -let &cpo = s:cpo_save +let &cpoptions = s:cpo_save unlet s:cpo_save |