mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
#1167 Use the make -n parsing for C++ compilers, and document the new option
This commit is contained in:
@@ -30,10 +30,10 @@ Execute(The executable should be configurable):
|
||||
Execute(The executable should be used in the command):
|
||||
AssertEqual
|
||||
\ ale#Escape('gcc') . b:command_tail,
|
||||
\ ale_linters#cpp#gcc#GetCommand(bufnr(''))
|
||||
\ ale_linters#cpp#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
let b:ale_cpp_gcc_executable = 'foobar'
|
||||
|
||||
AssertEqual
|
||||
\ ale#Escape('foobar') . b:command_tail,
|
||||
\ ale_linters#cpp#gcc#GetCommand(bufnr(''))
|
||||
\ ale_linters#cpp#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
Reference in New Issue
Block a user