From dfcbd0318e8a4ef14c677ab1f4de577e83ce66c5 Mon Sep 17 00:00:00 2001 From: Kljunas2 Date: Fri, 31 May 2024 16:35:42 +0200 Subject: [PATCH] Add german pitch names to syntax highlighting --- syntax/lilypond.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/syntax/lilypond.vim b/syntax/lilypond.vim index fe0f76d..f7f91b7 100644 --- a/syntax/lilypond.vim +++ b/syntax/lilypond.vim @@ -90,6 +90,11 @@ if g:nvls_language == "français" elseif g:nvls_language == "english" syn match lilyPitch "^\?\v<([a-g]|s|R|r)(ss|ff|x|qs|qf|tqs|tqf|s|f|-flatflat|-sharpsharp|-flat|-sharp){}('+|,+){}(\?|\!)=(\A|\n)"me=e-1 \ nextgroup=lilyRythm contained +elseif g:nvls_language == "deutsch" + syn match lilyPitch "^\?\v<([a-h]|s|R|r)(isis|eses|eh|ih|eseh|isih|is|es){}('+|,+){}(\?|\!)=(\A|\n)"me=e-1 + \ nextgroup=lilyRythm contained + syn match lilyPitch "^\?\v<(a|e)(ses|s)('+|,+){}(\?|\!)=(\A|\n)"me=e-1 + \ nextgroup=lilyRythm contained elseif g:nvls_language == "nohl" else syn match lilyPitch "^\?\v<([a-g]|s|R|r)(isis|eses|eh|ih|eseh|isih|is|es){}('+|,+){}(\?|\!)=(\A|\n)"me=e-1