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 /syntax_checkers | |
parent | ff250e32b2e74fe3ca6c2e85abf4e8c3eff230cf (diff) | |
download | vim-beancount-6600558bc68b5a42ac59cca8fd2cac4dac7f8417.tar.gz |
fix remaining lint issues
Diffstat (limited to 'syntax_checkers')
-rw-r--r-- | syntax_checkers/beancount/bean_check.vim | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/syntax_checkers/beancount/bean_check.vim b/syntax_checkers/beancount/bean_check.vim index c3e5fce..b477104 100644 --- a/syntax_checkers/beancount/bean_check.vim +++ b/syntax_checkers/beancount/bean_check.vim @@ -4,17 +4,16 @@ endif let g:loaded_syntastic_beancount_bean_check=1 -let s:save_cpo = &cpo -set cpo&vim +let s:save_cpo = &cpoptions +set cpoptions&vim function! SyntaxCheckers_beancount_bean_check_IsAvailable() dict - return executable(self.getExec()) + return executable(l:self.getExec()) endfunction function! SyntaxCheckers_beancount_bean_check_GetLocList() dict - let makeprg = self.makeprgBuild({}) - - return SyntasticMake({ 'makeprg': makeprg }) + let l:makeprg = l:self.makeprgBuild({}) + return SyntasticMake({ 'makeprg': l:makeprg }) endfunction call g:SyntasticRegistry.CreateAndRegisterChecker({ @@ -22,5 +21,5 @@ call g:SyntasticRegistry.CreateAndRegisterChecker({ \ 'name': 'bean_check', \ 'exec': 'bean-check'}) -let &cpo = s:save_cpo +let &cpoptions = s:save_cpo unlet s:save_cpo |