This commit is contained in:
Zahary Karadjov 2013-12-09 23:45:56 +02:00
commit d2f05bc1a6
2 changed files with 7 additions and 4 deletions

View file

@ -212,6 +212,9 @@ function! SyntaxCheckers_nimrod_nimrod_IsAvailable()
return executable("nimrod")
endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'nimrod',
\ 'name': 'nimrod'})
if exists("g:SyntasticRegistry")
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'nimrod',
\ 'name': 'nimrod'})
endif