From 03615f8caa92a69f9018689f87537b5d766fa8a0 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sun, 28 Aug 2011 01:54:33 +0300 Subject: [PATCH] nimrod compiler is now set automatically --- compiler/nimrod.vim | 4 +--- ftplugin/nimrod.vim | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/nimrod.vim b/compiler/nimrod.vim index 8f52618..ea73dd2 100644 --- a/compiler/nimrod.vim +++ b/compiler/nimrod.vim @@ -14,9 +14,7 @@ set cpo-=C CompilerSet makeprg=nimrod\ c\ $* CompilerSet errorformat= - \%f(%l,\ %c)\ Error:\ %m, - \%f(%l,\ %c)\ Hint:\ %m, - \%f(%l,\ %c)\ Warning:\ %m + \%f(%l\\,\ %c)\ %m let &cpo = s:cpo_save unlet s:cpo_save diff --git a/ftplugin/nimrod.vim b/ftplugin/nimrod.vim index 93924ca..24970de 100644 --- a/ftplugin/nimrod.vim +++ b/ftplugin/nimrod.vim @@ -11,6 +11,8 @@ setlocal formatoptions-=t formatoptions+=croql setlocal comments=:# setlocal commentstring=#\ %s +compiler nimrod + let &cpo = s:cpo_save unlet s:cpo_save