Force case-sensitive matching in syntastic#c#ReadConfig

This makes it not match lines like:
-include some_header.h
This commit is contained in:
Mathias Stearn 2013-01-22 15:11:23 -05:00
parent c10289fdeb
commit 9b1326c216

View File

@ -101,7 +101,7 @@ function! syntastic#c#ReadConfig(file)
let parameters = []
for line in lines
let matches = matchlist(line, '^\s*-I\s*\(\S\+\)')
let matches = matchlist(line, '\C^\s*-I\s*\(\S\+\)')
if matches != [] && matches[1] != ''
" this one looks like an absolute path
if match(matches[1], '^\%(/\|\a:\)') != -1