mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-06 12:22:51 +08:00
Make code more consistent
This commit is contained in:
1 parent
c9a5d9845b
commit
cab68cba25
13 files changed
+184
-183
No files matched your search
@@ -35,10 +35,10 @@ function! ale_linters#chef#foodcritic#Handle(buffer, lines) abort
|
||||
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, '~')
|
||||
\)
|
||||
return printf('%s %s %%t',
|
||||
\ g:ale_chef_foodcritic_executable,
|
||||
\ escape(g:ale_chef_foodcritic_options, '~')
|
||||
\)
|
||||
endfunction
|
||||
|
||||
|
||||
@@ -48,4 +48,3 @@ call ale#linter#Define('chef', {
|
||||
\ 'command_callback': 'ale_linters#chef#foodcritic#GetCommand',
|
||||
\ 'callback': 'ale_linters#chef#foodcritic#Handle',
|
||||
\})
|
||||
|
||||
Reference in new issue
Block a user