From 86721731c740d0ea07e6b90e601a80770c3d9f36 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 5 Mar 2019 09:34:59 +0100 Subject: Add lilypond support, closes #278 --- compiler/lilypond.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 compiler/lilypond.vim (limited to 'compiler') diff --git a/compiler/lilypond.vim b/compiler/lilypond.vim new file mode 100644 index 00000000..6d398030 --- /dev/null +++ b/compiler/lilypond.vim @@ -0,0 +1,23 @@ +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'lilypond') != -1 + finish +endif + +" LilyPond compiler file +" Language: LilyPond +" Maintainer: Heikki Junes +" Last Change: 2004 Mar 01 +" +" Installed As: vim/compiler/lilypond.vim +" +" 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 +" -- cgit v1.2.3