feat: add vimdoc parser and highlight queries

This commit is contained in:
Christian Clason 2022-03-26 14:42:45 +01:00 committed by Christian Clason
parent 82584359b7
commit 7e9c46b678
3 changed files with 27 additions and 0 deletions

View 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)