From e97dada261c4a69f43c5a6c34d349ad6246fe34c Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 16 Apr 2017 01:24:08 +0100 Subject: #427 Implement buffer variable overrides for all linter options --- ale_linters/chef/foodcritic.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters/chef/foodcritic.vim') diff --git a/ale_linters/chef/foodcritic.vim b/ale_linters/chef/foodcritic.vim index e6d1ddb6..8fa2dfe9 100644 --- a/ale_linters/chef/foodcritic.vim +++ b/ale_linters/chef/foodcritic.vim @@ -36,8 +36,8 @@ endfunction function! ale_linters#chef#foodcritic#GetCommand(buffer) abort return printf('%s %s %%t', - \ g:ale_chef_foodcritic_executable, - \ escape(g:ale_chef_foodcritic_options, '~') + \ ale#Var(a:buffer, 'chef_foodcritic_executable'), + \ escape(ale#Var(a:buffer, 'chef_foodcritic_options'), '~') \) endfunction -- cgit v1.2.3