mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
comment(highlights): reduce user mention priority
This commit is contained in:
parent
bc23db2515
commit
25b656a4b7
1 changed files with 2 additions and 1 deletions
|
|
@ -42,4 +42,5 @@
|
||||||
|
|
||||||
; User mention (@user)
|
; User mention (@user)
|
||||||
("text" @constant @nospell
|
("text" @constant @nospell
|
||||||
(#lua-match? @constant "^[@][a-zA-Z0-9_-]+$"))
|
(#lua-match? @constant "^[@][a-zA-Z0-9_-]+$")
|
||||||
|
(#set! "priority" 95))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue