mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
Fix #2512 - Use -o /dev/null for gcc linting
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('asm', 'gcc')
|
||||
call ale#test#SetFilename('test.cpp')
|
||||
let b:command_tail = ' -x assembler -fsyntax-only -iquote'
|
||||
\ . ' ' . ale#Escape(g:dir)
|
||||
let b:command_tail = ' -x assembler'
|
||||
\ . ' -o ' . (has('win32') ? 'nul': '/dev/null')
|
||||
\ . '-iquote ' . ale#Escape(g:dir)
|
||||
\ . ' -Wall -'
|
||||
|
||||
After:
|
||||
|
||||
Reference in New Issue
Block a user