]> git.donarmstrong.com Git - lilypond.git/commitdiff
* vim/ftplugin/lilypond.vim: remove errorformat.
authorHeikki Junes <heikki.junes@hut.fi>
Mon, 1 Mar 2004 17:50:25 +0000 (17:50 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Mon, 1 Mar 2004 17:50:25 +0000 (17:50 +0000)
* vim/compiler/lilypond.vim: new file for errorformats.

ChangeLog
vim/compiler/lilypond.vim [new file with mode: 0644]
vim/ftplugin/lilypond.vim

index 418b84998e20679ff4d7b8fea6ec066eb4430433..0a6d206ac525cad66907a0c0cbbae0698254f0d0 100644 (file)
--- 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 (file)
index 0000000..c0c6c7d
--- /dev/null
@@ -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
+"
index 67afd28bc1eb4d42cfdb74477006cb6aab7146cc..390afe8da150daa9e21faa72fbd201aaba9f6ed1 100644 (file)
@@ -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