From 6747eb96d88858349349892d804a5342b9c90057 Mon Sep 17 00:00:00 2001 From: Heikki Junes Date: Mon, 1 Mar 2004 17:50:25 +0000 Subject: * vim/ftplugin/lilypond.vim: remove errorformat. * vim/compiler/lilypond.vim: new file for errorformats. --- vim/compiler/lilypond.vim | 17 +++++++++++++++++ vim/ftplugin/lilypond.vim | 4 ---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 vim/compiler/lilypond.vim (limited to '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 +" 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 :g/%.*/normal 0x " Completions in Insert/Replace-mode with 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 -- cgit v1.2.3