Skip to content

Commit 8dc98bf

Browse files
nibochrisbra
authored andcommitted
runtime(chordpro): update syntax script
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>
1 parent d4088ed commit 8dc98bf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

runtime/syntax/chordpro.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
" Language: ChordPro 6 (https://www.chordpro.org)
33
" Maintainer: Niels Bo Andersen <niels@niboan.dk>
44
" Last Change: 2022-04-15
5+
" 2024 Dec 31: add "keys" as syntax keyword (via: https://groups.google.com/g/vim_dev/c/vP4epus0euM/m/mNoDY6hsCQAJ)
56

67
" Quit when a syntax file was already loaded
78
if exists("b:current_syntax")
@@ -104,7 +105,7 @@ syn match chordproStandardMetadata /instrument\.description/ contained
104105
syn match chordproStandardMetadata /user\.name/ contained
105106
syn match chordproStandardMetadata /user\.fullname/ contained
106107

107-
syn keyword chordproDefineKeyword contained frets fingers
108+
syn keyword chordproDefineKeyword contained frets fingers keys
108109
syn match chordproDefineKeyword /base-fret/ contained
109110

110111
syn match chordproArgumentsNumber /\d\+/ contained

0 commit comments

Comments
 (0)