diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-03-31 17:09:00 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-04-01 15:07:16 +0200 |
commit | d7f7450017b9b05303698a6cda54303ef22c63b3 (patch) | |
tree | e6b48fffc27a65f3cb4389741926933e4dec81d3 /runtime/queries/vimdoc/highlights.scm | |
parent | 2a298f2e48eb081f2e3b58068af589b82fe76a18 (diff) | |
download | rneovim-d7f7450017b9b05303698a6cda54303ef22c63b3.tar.gz rneovim-d7f7450017b9b05303698a6cda54303ef22c63b3.tar.bz2 rneovim-d7f7450017b9b05303698a6cda54303ef22c63b3.zip |
refactor(treesitter)!: rename help parser to vimdoc
Diffstat (limited to 'runtime/queries/vimdoc/highlights.scm')
-rw-r--r-- | runtime/queries/vimdoc/highlights.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/runtime/queries/vimdoc/highlights.scm b/runtime/queries/vimdoc/highlights.scm new file mode 100644 index 0000000000..c0d88301bc --- /dev/null +++ b/runtime/queries/vimdoc/highlights.scm @@ -0,0 +1,25 @@ +(h1) @text.title +(h2) @text.title +(h3) @text.title +(column_heading) @text.title +(column_heading + "~" @conceal (#set! conceal "")) +(tag + "*" @conceal (#set! conceal "") + text: (_) @label) +(taglink + "|" @conceal (#set! conceal "") + text: (_) @text.reference) +(optionlink + text: (_) @text.reference) +(codespan + "`" @conceal (#set! conceal "") + text: (_) @text.literal) +(codeblock) @text.literal +(codeblock + [">" (language)] @conceal (#set! conceal "")) +(block + "<" @conceal (#set! conceal "")) +(argument) @parameter +(keycode) @string.special +(url) @text.uri |