]> git.donarmstrong.com Git - lilypond.git/commitdiff
Vim syntax: Remove `lilyEquation'.
authorPatrick McCarty <pnorcks@gmail.com>
Mon, 26 Jul 2010 20:01:42 +0000 (13:01 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Mon, 26 Jul 2010 20:03:45 +0000 (13:03 -0700)
This pattern has never uses a highlighting rule, and it now conflicts
with the lilyScheme regions, so it is best to get rid of it.

vim/lilypond-syntax.vim

index 2bf08439a5d26211221691c8961b6da678c6572b..701a7c3e774f7827b5b2ae16608beff42ea15821 100644 (file)
@@ -1,9 +1,7 @@
 " LilyPond syntax file
 " Language:    LilyPond
 " Maintainer:  Heikki Junes <hjunes@cc.hut.fi>
-" Created:      Oct 17, 2002
-" Last Change: Aug 30, 2009
-" Version:     6.1-1
+" Last Change: 2010 Jul 26
 "
 " Installed As:        vim/syntax/lilypond.vim
 " Uses Generated File: vim/syntax/lilypond-words.vim
@@ -33,7 +31,7 @@ setlocal mps+=<:>
 " Case matters
 syn case match
 
-syn cluster lilyMatchGroup     contains=lilyMatcher,lilyString,lilyComment,lilyStatement,lilyNumber,lilyEquation,lilySlur,lilySpecial,lilyNote,lilyKeyword,lilyArticulation,lilyReservedWord
+syn cluster lilyMatchGroup     contains=lilyMatcher,lilyString,lilyComment,lilyStatement,lilyNumber,lilySlur,lilySpecial,lilyNote,lilyKeyword,lilyArticulation,lilyReservedWord
 
 syn region lilyMatcher matchgroup=Delimiter start="{" skip="\\\\\|\\[<>]"      end="}" contains=@lilyMatchGroup fold
 syn region lilyMatcher matchgroup=Delimiter start="\["         end="]" contains=@lilyMatchGroup fold
@@ -44,7 +42,6 @@ syn region lilyComment        start="%{" skip="%$" end="%}"
 syn region lilyComment start="%\([^{]\|$\)" end="$"
 
 syn match lilyNumber   "[-_^.]\?\d\+[.]\?"
-syn match lilyEquation "\(#['`]\)\?\(\a*[-]\)*\a*\s*=\s*\(#[#'`]\?\)\?\a*"
 syn match lilySlur     "[(~)]"
 syn match lilySlur     "\\[()]"
 syn match lilySpecial  "\\[<!>\\]"