mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
feat: add vimdoc parser and highlight queries
This commit is contained in:
parent
82584359b7
commit
7e9c46b678
3 changed files with 27 additions and 0 deletions
14
queries/help/highlights.scm
Normal file
14
queries/help/highlights.scm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(headline) @text.title
|
||||
(column_heading) @text.title
|
||||
(tag
|
||||
"*" @conceal (#set! conceal "")
|
||||
name: (_) @label)
|
||||
(option
|
||||
"'" @conceal (#set! conceal "")
|
||||
name: (_) @text.literal)
|
||||
(hotlink
|
||||
"|" @conceal (#set! conceal "")
|
||||
destination: (_) @text.uri)
|
||||
(backtick
|
||||
"`" @conceal (#set! conceal "")
|
||||
content: (_) @string)
|
||||
Loading…
Add table
Add a link
Reference in a new issue