summaryrefslogtreecommitdiff
path: root/ale_linters/chef/foodcritic.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/chef/foodcritic.vim')
-rw-r--r--ale_linters/chef/foodcritic.vim4
1 files changed, 2 insertions, 2 deletions
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