nim.vim/ftplugin/nimrod.vim
Zahary Karadjov ecc3d1f633 fixed the "cannot reload GotoDefinition while executing" error
errors are redirected to a log buffer now instead of echoerr
2012-11-09 18:51:59 +02:00

20 lines
309 B
VimL

if exists("b:nimrod_loaded")
finish
endif
let b:nimrod_loaded = 1
let s:cpo_save = &cpo
set cpo&vim
call nimrod#init()
setlocal formatoptions-=t formatoptions+=croql
setlocal comments=:#
setlocal commentstring=#\ %s
setlocal omnifunc=NimComplete
compiler nimrod
let &cpo = s:cpo_save
unlet s:cpo_save