nim.vim/ftplugin/nimrod.vim
Zahary Karadjov ca3142c5e2 implements #7
2013-04-10 13:50:06 +03:00

22 lines
341 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
setlocal suffixesadd=.nim
compiler nimrod
let &cpo = s:cpo_save
unlet s:cpo_save