added indenting rules, compiler settings and filetype detection

This commit is contained in:
Zahary Karadjov 2011-08-26 13:50:09 +03:00
commit a53642d1e8
4 changed files with 151 additions and 0 deletions

17
compiler/nimrod.vim Normal file
View file

@ -0,0 +1,17 @@
if exists("current_compiler")
finish
endif
let current_compiler = "nimrod"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet makeprg=nimrod\ c\ $*
CompilerSet errorformat=
\%f(%l,\ %c)\ Error:\ %m,
\%f(%l,\ %c)\ Hint:\ %m,
\%f(%l,\ %c)\ Warning:\ %m