diff options
author | w0rp <devw0rp@gmail.com> | 2019-04-07 14:58:06 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-04-07 14:58:06 +0100 |
commit | 3bebcb5d48a7150f5a318952ee309acb67fb376d (patch) | |
tree | 97edd84badca566894fd4c4f10c2a786df2fe079 /ale_linters/c | |
parent | cdf89f8269aec31d0dfddf3a2769027d72d38155 (diff) | |
download | ale-3bebcb5d48a7150f5a318952ee309acb67fb376d.zip |
#2132 - Replace command_chain and chain_with with ale#command#Run
Diffstat (limited to 'ale_linters/c')
-rw-r--r-- | ale_linters/c/clang.vim | 5 | ||||
-rw-r--r-- | ale_linters/c/gcc.vim | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/ale_linters/c/clang.vim b/ale_linters/c/clang.vim index 5b243bfe..681101fc 100644 --- a/ale_linters/c/clang.vim +++ b/ale_linters/c/clang.vim @@ -19,9 +19,6 @@ call ale#linter#Define('c', { \ 'name': 'clang', \ 'output_stream': 'stderr', \ 'executable': {b -> ale#Var(b, 'c_clang_executable')}, -\ 'command_chain': [ -\ {'callback': 'ale#c#GetMakeCommand', 'output_stream': 'stdout'}, -\ {'callback': 'ale_linters#c#clang#GetCommand'} -\ ], +\ 'command': {b -> ale#c#RunMakeCommand(b, function('ale_linters#c#clang#GetCommand'))}, \ 'callback': 'ale#handlers#gcc#HandleGCCFormatWithIncludes', \}) diff --git a/ale_linters/c/gcc.vim b/ale_linters/c/gcc.vim index ccb1912b..d965965d 100644 --- a/ale_linters/c/gcc.vim +++ b/ale_linters/c/gcc.vim @@ -19,9 +19,6 @@ call ale#linter#Define('c', { \ 'name': 'gcc', \ 'output_stream': 'stderr', \ 'executable': {b -> ale#Var(b, 'c_gcc_executable')}, -\ 'command_chain': [ -\ {'callback': 'ale#c#GetMakeCommand', 'output_stream': 'stdout'}, -\ {'callback': 'ale_linters#c#gcc#GetCommand'} -\ ], +\ 'command': {b -> ale#c#RunMakeCommand(b, function('ale_linters#c#gcc#GetCommand'))}, \ 'callback': 'ale#handlers#gcc#HandleGCCFormatWithIncludes', \}) |