syn match lilyKeyword "[-_^]\?\\\(with\|whiteTriangleMarkup\|vsize\|voiceTwo\|voiceThree\|voiceOne\|voiceFour\|virgula\|virga\|verylongfermata\|version\|varcoda\|upprall\|upmordent\|upbow\|up\|unusedEntry\|unset\|unit\|unaCorda\|unHideNotes\|type\|turnOff\|turn\|tupletUp\|tupletDown\|tupletBoth\|trill\|treCorde\|transposition\|transpose\|tiny\|times\|time\|tieUp\|tieSolid\|tieDown\|tieDotted\|tieBoth\|thumb\|tenuto\|tempo\|tag\|sustainUp\|sustainDown\|stropha\|stopped\|stopTextSpan\|stopGroup\|stopGraceMusic\|stopAppoggiaturaMusic\|stopAcciaccaturaMusic\|stop\|stemUp\|stemDown\|stemBoth\|startTextSpan\|startGroup\|startGraceMusic\|startAppoggiaturaMusic\|startAcciaccaturaMusic\|start\|staccato\|staccatissimo\|spp\|sp\|sostenutoUp\|sostenutoDown\|smaller\|small\|slurUp\|slurSolid\|slurDown\|slurDotted\|slurBoth\|skip\|simultaneous\|signumcongruentiae\|showStaffSwitch\|shortfermata\|shiftOnnn\|shiftOnn\|shiftOn\|shiftOff\|sfz\|sfp\|sff\|sf\|setTextDim\|setTextDecresc\|setTextCresc\|setMmRestFermata\|setHairpinCresc\|setEasyHeads\|set\|sequential\|semicirculus\|semiGermanChords\|segno\|scriptUp\|scriptDown\|scriptBoth\|score\|rtoe\|right\|rheel\|rfz\|revert\|reverseturn\|rest\|repeat\|remove\|relative\|recordEventSequence\|raggedright\|raggedlast\|quote\|quilisma\|pt\|prallup\|prallprall\|prallmordent\|pralldown\|prall\|ppppp\|pppp\|ppp\|pp\|portato\|phrygian\|phrasingSlurUp\|phrasingSlurDown\|phrasingSlurBoth\|pes\|partialJazzMusic\|partialJazzExceptions\|partial\|partcombine\|partCombineListener\|paperTwentythree\|paperTwentysix\|paperTwenty\|paperThirteen\|paperSixteen\|paperEleven\|paperEightteen\|paper\|packed\|p\|override\|oriscus\|open\|oneVoice\|once\|octave\|notes\|normalsize\|noBreak\|noBeam\|newpage\|new\|name\|mp\|mordent\|mm\|mixolydian\|minor\|midi\|mf\|melismaEnd\|melisma\|maxima\|markup\|mark\|marcato\|major\|maininput\|lyricsto\|lyrics\|lydian\|ltoe\|longfermata\|longa\|locrian\|lineprall\|linea\|lheel\|left\|key\|ionian\|include\|inclinatum\|in\|ignatzekExceptions\|ignatzekExceptionMusic\|ictus\|hsize\|hideStaffSwitch\|hideNotes\|header\|harmonic\|grobdescriptions\|grace\|glissando\|germanChords\|fz\|fullJazzExceptions\|fp\|flexa\|flageolet\|finalis\|figures\|ffff\|fff\|ff\|fermataMarkup\|fermata\|fatText\|f\|episemInitium\|episemFinis\|endincipit\|enddim\|enddecr\|endcresc\|endcr\|emptyText\|dynamicUp\|dynamicDown\|dynamicBoth\|drums\|downprall\|downmordent\|downbow\|down\|dotsUp\|dotsDown\|dotsBoth\|dorian\|divisioMinima\|divisioMaxima\|divisioMaior\|dim\|description\|descendens\|denies\|deminutum\|default\|decr\|dashUnderscore\|dashPlus\|dashLarger\|dashHat\|dashDot\|dashDash\|dashBar\|cresc\|cr\|context\|consistsend\|consists\|coda\|cm\|clef\|circulus\|chords\|chordmodifiers\|change\|center\|cavum\|caesura\|cadenzaOn\|cadenzaOff\|breve\|breathe\|break\|blackTriangleMarkup\|bigger\|bar\|autochange\|autoBeamOn\|autoBeamOff\|auctum\|ascendens\|arpeggioUp\|arpeggioDown\|arpeggioBracket\|arpeggioBoth\|arpeggio\|appoggiatura\|applyoutput\|applycontext\|apply\|alternative\|alias\|aeolian\|addquote\|addlyrics\|acciaccatura\|accepts\|accentus\|accent\|RemoveEmptyStaffContext\|OrchestralScoreContext\|EasyNotation\|AncientRemoveEmptyStaffContext\|n\)\(\A\|\n\)"me=e-1
syn match lilyReservedWord "\(\A\|\n\)\(Volta_engraver\|Voice\|Vocal_name_engraver\|Vertical_align_engraver\|Vaticana_ligature_engraver\|VaticanaVoice\|VaticanaStaff\|Tuplet_engraver\|Timing_translator\|Timing_engraver\|Time_signature_performer\|Time_signature_engraver\|Tie_performer\|Tie_engraver\|Text_spanner_engraver\|Text_engraver\|Tempo_performer\|Tab_staff_symbol_engraver\|Tab_note_heads_engraver\|TabVoice\|TabStaff\|System_start_delimiter_engraver\|Swallow_performer\|Swallow_engraver\|String_number_engraver\|Stem_engraver\|Stanza_number_engraver\|Stanza_number_align_engraver\|Staff_symbol_engraver\|Staff_collecting_engraver\|StaffGroup\|Staff\|Span_dynamic_performer\|Span_bar_engraver\|Span_arpeggio_engraver\|Spacing_engraver\|Slur_performer\|Slur_engraver\|Slash_repeat_engraver\|Skip_event_swallow_translator\|Separating_line_group_engraver\|Script_engraver\|Script_column_engraver\|Score\|Rhythmic_column_engraver\|RhythmicStaff\|Rest_swallow_translator\|Rest_engraver\|Rest_collision_engraver\|Repeat_acknowledge_engraver\|Pitch_squash_engraver\|Piano_pedal_performer\|Piano_pedal_engraver\|PianoStaff\|Phrasing_slur_engraver\|Percent_repeat_engraver\|Part_combine_engraver\|Output_property_engraver\|Ottava_spanner_engraver\|Note_swallow_translator\|Note_performer\|Note_name_engraver\|Note_heads_engraver\|Note_head_line_engraver\|NoteNames\|New_fingering_engraver\|Multi_measure_rest_engraver\|Metronome_mark_engraver\|Melisma_translator\|Mark_engraver\|Lyrics\|Lyric_performer\|Lyric_engraver\|Ligature_bracket_engraver\|Key_performer\|Key_engraver\|Instrument_name_engraver\|InnerStaffGroup\|InnerChoirStaff\|Hyphen_engraver\|Grob_pq_engraver\|GregorianTranscriptionVoice\|GregorianTranscriptionStaff\|GrandStaff\|Grace_beam_engraver\|Global\|Glissando_engraver\|Forbid_line_break_engraver\|Font_size_engraver\|Fingering_engraver\|Figured_bass_engraver\|FiguredBass\|Extender_engraver\|Dynamic_performer\|Dynamic_engraver\|Drum_notes_engraver\|Drum_note_performer\|DrumVoice\|DrumStaff\|Dot_column_engraver\|Devnull\|Custos_engraver\|Collision_engraver\|Cluster_spanner_engraver\|Clef_engraver\|Chord_tremolo_engraver\|Chord_name_engraver\|ChordNames\|ChordNameVoice\|ChoirStaff\|Breathing_sign_engraver\|Break_align_engraver\|Beam_performer\|Beam_engraver\|Bar_number_engraver\|Bar_engraver\|Auto_beam_engraver\|Arpeggio_engraver\|Accidental_engraver\|Score\)\(\A\|\n\)"ms=s+1,me=e-1
syn match lilyNote "\<\(\(\(vibraslap\|twoup\|twodown\|triangle\|threeup\|threedown\|tambourine\|splashcymbal\|solss\|solsd\|solsb\|sols\|soldsd\|soldd\|sold\|solbsb\|solbb\|solb\|sol\|snare\|siss\|sisd\|sisb\|sis\|sidsd\|sidestick\|sidd\|sid\|sibsb\|sibb\|sib\|si\|shortwhistle\|shortguiro\|ridecymbalb\|ridecymbala\|ridecymbal\|ridebell\|ress\|resd\|resb\|res\|redsd\|redd\|red\|rebsb\|rebb\|reb\|re\|pedalhihat\|opentriangle\|openloconga\|openlobongo\|openhihat\|openhiconga\|openhibongo\|opencuica\|oneup\|onedown\|mutetriangle\|muteloconga\|mutelobongo\|mutehiconga\|mutehibongo\|mutecuica\|miss\|misd\|misb\|mis\|midsd\|midd\|mid\|mibsb\|mibb\|mib\|mi\|maracas\|lowtom\|lowoodblock\|lowmidtom\|lowfloortom\|lotimbale\|losidestick\|longwhistle\|longguiro\|loconga\|lobongo\|loagogo\|lass\|lasd\|lasb\|las\|ladsd\|ladd\|lad\|labsb\|labb\|lab\|la\|hiwoodblock\|hitimbale\|hississ\|hiss\|hisis\|hisidestick\|his\|himidtom\|hihat\|hightom\|highfloortom\|hiconga\|hibongo\|hiagogo\|hessess\|heses\|handclap\|halfopenhihat\|h\|gx\|guiro\|gss\|gsharpsharp\|gsharp\|gs\|gississ\|giss\|gisis\|gisih\|gis\|gih\|gflatflat\|gflat\|gff\|gf\|gessess\|gess\|geses\|geseh\|ges\|geh\|g\|fx\|fss\|fsharpsharp\|fsharp\|fs\|fourup\|fourdown\|fiveup\|fivedown\|fississ\|fiss\|fisis\|fisih\|fis\|fih\|fflatflat\|fflat\|fff\|ff\|fessess\|fess\|feses\|feseh\|fes\|feh\|fass\|fasd\|fasb\|fas\|fadsd\|fadd\|fad\|fabsb\|fabb\|fab\|fa\|f\|ex\|essess\|ess\|esharpsharp\|esharp\|eses\|es\|electricsnare\|eississ\|eiss\|eisis\|eisih\|eis\|eih\|eflatflat\|eflat\|eff\|ef\|eessess\|eess\|eeses\|eeseh\|ees\|eeh\|e\|dx\|dss\|dsharpsharp\|dsharp\|ds\|doss\|dosd\|dosb\|dos\|dodsd\|dodd\|dod\|dobsb\|dobb\|dob\|do\|dississ\|diss\|disis\|disih\|dis\|dih\|dflatflat\|dflat\|dff\|df\|dessess\|dess\|deses\|deseh\|des\|deh\|d\|cx\|css\|csharpsharp\|csharp\|cs\|crashcymbalb\|crashcymbala\|crashcymbal\|cowbell\|closedhihat\|claves\|cississ\|ciss\|cisis\|cisih\|cis\|cih\|chinesecymbal\|cflatflat\|cflat\|cff\|cf\|cessess\|cess\|ceses\|ceseh\|ces\|ceh\|cabasa\|c\|bx\|bss\|bsharpsharp\|bsharp\|bs\|bisis\|bisih\|bis\|bih\|bflatflat\|bflat\|bff\|bf\|bess\|beses\|beseh\|bes\|beh\|bb\|bassdrum\|b\|ax\|assess\|ass\|asharpsharp\|asharp\|ases\|asas\|as\|aississ\|aiss\|aisis\|aisih\|ais\|aih\|aflatflat\|aflat\|aff\|af\|aessess\|aess\|aeses\|aeseh\|aes\|aeh\|acousticsnare\|acousticbassdrum\|a\|a\)\([,']\)\{,4}\([?!]\)\?\)\|s\|r\)\(\(128\|64\|32\|16\|8\|4\|2\|1\|\\breve\|\\longa\|\\maxima\)[.]\{,8}\)\?\(\A\|\n\)"me=e-1
