#1167 Use the make -n parsing for C++ compilers, and document the new option

This commit is contained in:
w0rp
2018-03-27 19:24:22 +01:00
parent 018831d601
commit 95ec9bb780
7 changed files with 44 additions and 24 deletions

View File

@@ -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(''), [])