Skip to content

Commit

Permalink
Merge pull request #32 from Kljunas2/main
Browse files Browse the repository at this point in the history
Add german pitch names to syntax highlighting
  • Loading branch information
martineausimon authored May 31, 2024
2 parents 2f2c420 + dfcbd03 commit e06d0ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions syntax/lilypond.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e06d0ee

Please sign in to comment.