summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Junes <heikki.junes@hut.fi>2004-03-01 17:50:25 +0000
committerHeikki Junes <heikki.junes@hut.fi>2004-03-01 17:50:25 +0000
commit6747eb96d88858349349892d804a5342b9c90057 (patch)
treeb1aa4cdeb948c615fa839c1bf10a2fb03fcc7f63
parent708feeabec0f171e73a28332f2990c5ad024c6b5 (diff)
* vim/ftplugin/lilypond.vim: remove errorformat.
* vim/compiler/lilypond.vim: new file for errorformats.
-rw-r--r--ChangeLog4
-rw-r--r--vim/compiler/lilypond.vim17
-rw-r--r--vim/ftplugin/lilypond.vim4
3 files changed, 21 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 418b84998e..0a6d206ac5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
* vimrc: add menu in console and shortcut <F10> for it.
* vim/:
+ * vim/compiler/:
* vim/syntax/:
* vim/indent/:
* vim/ftplugin/: new directories.
@@ -29,6 +30,9 @@
* vim/indent/lilypond.vim: new file.
+ * vim/ftplugin/lilypond.vim: remove errorformat.
+ * vim/compiler/lilypond.vim: new file for errorformats.
+
* Documentation/topdocs/INSTALL.texi: give easier orders.
* ROADMAP: add vim/
diff --git a/vim/compiler/lilypond.vim b/vim/compiler/lilypond.vim
new file mode 100644
index 0000000000..c0c6c7d0f6
--- /dev/null
+++ b/vim/compiler/lilypond.vim
@@ -0,0 +1,17 @@
+" LilyPond compiler file
+" Language: LilyPond
+" Maintainer: Heikki Junes <hjunes@cc.hut.fi>
+" Last Change: 2004 Mar 01
+
+" Only load this indent file when no other was loaded.
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "lilypond"
+
+" default make
+setlocal makeprg=lilypond $*
+" errorformat for lily (with columns) and gcc
+" (how to see multiple-line error messages?)
+setlocal errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,In\ file\ included\ from\ %f:%l:,\^I\^Ifrom\ %f:%l%m
+"
diff --git a/vim/ftplugin/lilypond.vim b/vim/ftplugin/lilypond.vim
index 67afd28bc1..390afe8da1 100644
--- a/vim/ftplugin/lilypond.vim
+++ b/vim/ftplugin/lilypond.vim
@@ -53,8 +53,4 @@ map <buffer> <S-F12> :g/%.*/normal 0x<Return>
" Completions in Insert/Replace-mode with <Ctrl-N>
set dictionary-=~/.vim/syntax/lilypond.words.el dictionary+=~/.vim/syntax/lilypond.words.el
set complete-=k complete+=k
-" errorformat for lily (with columns) and gcc
-" (how to see multiple-line error messages?)
-"
-se errorformat=%f:%l:%c:\ %m,%f:%l:\ %m,In\ file\ included\ from\ %f:%l:,\^I\^Ifrom\ %f:%l%m