added indenting rules, compiler settings and filetype detection
This commit is contained in:
parent
932641228a
commit
a53642d1e8
4 changed files with 151 additions and 0 deletions
17
compiler/nimrod.vim
Normal file
17
compiler/nimrod.vim
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue