diff options
Diffstat (limited to 'runtime/queries/vimdoc')
-rw-r--r-- | runtime/queries/vimdoc/highlights.scm | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/runtime/queries/vimdoc/highlights.scm b/runtime/queries/vimdoc/highlights.scm index 294fa94f10..70a3a2f206 100644 --- a/runtime/queries/vimdoc/highlights.scm +++ b/runtime/queries/vimdoc/highlights.scm @@ -7,39 +7,46 @@ (column_heading) @markup.heading.4 (column_heading - "~" @markup.heading.4.marker + "~" @markup.heading.4 + (#set! conceal "")) + +(tag + "*" @label (#set! conceal "")) (tag - "*" @markup.heading.5.marker - (#set! conceal "") text: (_) @label) (taglink "|" @markup.link - (#set! conceal "") + (#set! conceal "")) + +(taglink text: (_) @markup.link) (optionlink text: (_) @markup.link) (codespan - "`" @markup.raw.delimiter - (#set! conceal "") + "`" @markup.raw + (#set! conceal "")) + +(codespan text: (_) @markup.raw) ((codeblock) @markup.raw.block (#set! "priority" 90)) (codeblock - [ - ">" - (language) - ] @markup.raw.delimiter + ">" @markup.raw + (#set! conceal "")) + +(codeblock + (language) @label (#set! conceal "")) (block - "<" @markup.raw.delimiter + "<" @markup.raw (#set! conceal "")) (argument) @variable.parameter @@ -48,6 +55,8 @@ (url) @string.special.url +(modeline) @keyword.directive + ((note) @comment.note (#any-of? @comment.note "Note:" "NOTE:" "Notes:")) |