diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-05 09:34:59 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-05 09:34:59 +0100 |
commit | 86721731c740d0ea07e6b90e601a80770c3d9f36 (patch) | |
tree | 6f8b5ea6e94d818ab1580b003ac219dade1664ff /compiler | |
parent | 6f7257ade246f62993a71066f394a3652f9493b6 (diff) | |
download | vim-polyglot-86721731c740d0ea07e6b90e601a80770c3d9f36.tar.gz vim-polyglot-86721731c740d0ea07e6b90e601a80770c3d9f36.zip |
Add lilypond support, closes #278
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/lilypond.vim | 23 |
1 files changed, 23 insertions, 0 deletions
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 <hjunes@cc.hut.fi> +" 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 +" |