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") return executable("nimrod")
endfunction endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({ if exists("g:SyntasticRegistry")
\ 'filetype': 'nimrod', call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'name': 'nimrod'}) \ 'filetype': 'nimrod',
\ 'name': 'nimrod'})
endif

View file

@ -38,7 +38,7 @@ syn keyword nimrodKeyword finally for from
syn keyword nimrodKeyword generic syn keyword nimrodKeyword generic
syn keyword nimrodKeyword if import in include interface is isnot iterator syn keyword nimrodKeyword if import in include interface is isnot iterator
syn keyword nimrodKeyword lambda let syn keyword nimrodKeyword lambda let
syn keyword nimrodKeyword mixin mod syn keyword nimrodKeyword mixin using mod
syn keyword nimrodKeyword nil not notin syn keyword nimrodKeyword nil not notin
syn keyword nimrodKeyword object of or out syn keyword nimrodKeyword object of or out
syn keyword nimrodKeyword proc method macro template nextgroup=nimrodFunction skipwhite syn keyword nimrodKeyword proc method macro template nextgroup=nimrodFunction skipwhite