mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-27 16:13:16 +08:00
Add -imacros to C flags
This commit is contained in:
1 parent
557a1ed5da
commit
96d8415946
1 file changed
+1
@@ -152,6 +152,7 @@ function! ale#c#ParseCFlags(path_prefix, should_quote, raw_arguments) abort
|
|||||||
\ || stridx(l:option, '-idirafter') == 0
|
\ || stridx(l:option, '-idirafter') == 0
|
||||||
\ || stridx(l:option, '-iframework') == 0
|
\ || stridx(l:option, '-iframework') == 0
|
||||||
\ || stridx(l:option, '-include') == 0
|
\ || stridx(l:option, '-include') == 0
|
||||||
|
\ || stridx(l:option, '-imacros') == 0
|
||||||
if stridx(l:option, '-I') == 0 && l:option isnot# '-I'
|
if stridx(l:option, '-I') == 0 && l:option isnot# '-I'
|
||||||
let l:arg = join(split(l:option, '\zs')[2:], '')
|
let l:arg = join(split(l:option, '\zs')[2:], '')
|
||||||
let l:option = '-I'
|
let l:option = '-I'
|
||||||
|
|||||||
Reference in new issue
Block a user