Merge branch 'master' into gcc_refactor
This commit is contained in:
commit
77004ad0cb
@ -277,7 +277,8 @@ endfunction
|
|||||||
function! syntastic#c#CheckRuby()
|
function! syntastic#c#CheckRuby()
|
||||||
if executable('ruby')
|
if executable('ruby')
|
||||||
if !has_key(s:cflags, 'ruby')
|
if !has_key(s:cflags, 'ruby')
|
||||||
let s:cflags['ruby'] = system('ruby -r rbconfig -e ''puts Config::CONFIG["archdir"]''')
|
let s:cflags['ruby'] = system('ruby -r rbconfig -e ' .
|
||||||
|
\ '''puts RbConfig::CONFIG["rubyhdrdir"] || RbConfig::CONFIG["archdir"]''')
|
||||||
let s:cflags['ruby'] = substitute(s:cflags['ruby'], "\n", '', '')
|
let s:cflags['ruby'] = substitute(s:cflags['ruby'], "\n", '', '')
|
||||||
let s:cflags['ruby'] = ' -I' . s:cflags['ruby']
|
let s:cflags['ruby'] = ' -I' . s:cflags['ruby']
|
||||||
endif
|
endif
|
||||||
|
@ -153,6 +153,10 @@ current filetype is set to passive. See |'syntastic_mode_map'| for more info.
|
|||||||
Output info about what checkers are available and in use for the current
|
Output info about what checkers are available and in use for the current
|
||||||
filetype.
|
filetype.
|
||||||
|
|
||||||
|
:SyntasticReset *:SyntasticReset*
|
||||||
|
|
||||||
|
Resets the list of errors and turns off all error notifiers.
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
4. Global Options *syntastic-global-options*
|
4. Global Options *syntastic-global-options*
|
||||||
|
@ -78,6 +78,7 @@ command! SyntasticToggleMode call s:ToggleMode()
|
|||||||
command! -nargs=? -complete=custom,s:CompleteCheckerName SyntasticCheck call s:UpdateErrors(0, <f-args>) <bar> call s:Redraw()
|
command! -nargs=? -complete=custom,s:CompleteCheckerName SyntasticCheck call s:UpdateErrors(0, <f-args>) <bar> call s:Redraw()
|
||||||
command! Errors call s:ShowLocList()
|
command! Errors call s:ShowLocList()
|
||||||
command! SyntasticInfo call s:registry.echoInfoFor(s:CurrentFiletypes())
|
command! SyntasticInfo call s:registry.echoInfoFor(s:CurrentFiletypes())
|
||||||
|
command! SyntasticReset call s:ClearCache() | call s:notifiers.refresh(g:SyntasticLoclist.New([]))
|
||||||
|
|
||||||
highlight link SyntasticError SpellBad
|
highlight link SyntasticError SpellBad
|
||||||
highlight link SyntasticWarning SpellCap
|
highlight link SyntasticWarning SpellCap
|
||||||
|
Loading…
Reference in New Issue
Block a user