mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
Help: update highlights
- A hotlink on vimdoc is `|foo|`. Which is a reference to part of a document, not a URI. - (argument) wasn't being highlighted, wasn't sure about the best hl group for this, but `@parameter` seems the obvious one?
This commit is contained in:
parent
e68ea36745
commit
96ee5b5382
1 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,8 @@
|
|||
name: (_) @text.literal)
|
||||
(hotlink
|
||||
"|" @conceal (#set! conceal "")
|
||||
destination: (_) @text.uri)
|
||||
destination: (_) @text.reference)
|
||||
(backtick
|
||||
"`" @conceal (#set! conceal "")
|
||||
content: (_) @string)
|
||||
(argument) @parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue