diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-04-01 15:39:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 15:39:25 +0200 |
commit | 19110eddb96a125dd391d2a215e04a7ae376ccf1 (patch) | |
tree | 520bb7db80fbeeec027d516872459bba05280970 /runtime/queries/vimdoc/highlights.scm | |
parent | 4f66530af1d5e501f7b57ddd79e9c185af1b5f39 (diff) | |
parent | 438c3419df00d6f943a1c932bb1d60ab15bd08e9 (diff) | |
download | rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.tar.gz rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.tar.bz2 rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.zip |
Merge pull request #22837 from clason/ts-sync
build(deps): bump tree-sitter-viml to HEAD
fix(tests): adapt treesitter/highlight_spec priority test
fix(treesitter): update queries from nvim-treesitter
refactor(treesitter)!: rename help parser to vimdoc
docs(treesitter): add query injections
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 |