]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(chordpro): update syntax script
authornibo <nibo@relim.de>
Tue, 31 Dec 2024 10:24:46 +0000 (11:24 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 31 Dec 2024 10:24:46 +0000 (11:24 +0100)
References:
https://chordpro.org/beta/directives-define/#defining-chords-for-keyboard-instruments

Signed-off-by: nibo <nibo@relim.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/chordpro.vim

index 41a0a1e9d164363b517dfc25a3d0f0376ebdc653..02c34b8466286dbe7486e8167201175e6ebe38ff 100644 (file)
@@ -2,6 +2,7 @@
 " Language:     ChordPro 6 (https://www.chordpro.org)
 " Maintainer:   Niels Bo Andersen <niels@niboan.dk>
 " Last Change:  2022-04-15
+" 2024 Dec 31:  add "keys" as syntax keyword (via: https://groups.google.com/g/vim_dev/c/vP4epus0euM/m/mNoDY6hsCQAJ)
 
 " Quit when a syntax file was already loaded
 if exists("b:current_syntax")
@@ -104,7 +105,7 @@ syn match chordproStandardMetadata /instrument\.description/ contained
 syn match chordproStandardMetadata /user\.name/ contained
 syn match chordproStandardMetadata /user\.fullname/ contained
 
-syn keyword chordproDefineKeyword contained frets fingers
+syn keyword chordproDefineKeyword contained frets fingers keys
 syn match chordproDefineKeyword /base-fret/ contained
 
 syn match chordproArgumentsNumber /\d\+/ contained