mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(bibtex): highlight URLs and DOIs (#7725)
This commit is contained in:
parent
108302da0e
commit
833405d5a9
1 changed files with 7 additions and 0 deletions
|
|
@ -32,6 +32,13 @@
|
|||
(quote_word)
|
||||
] @string
|
||||
|
||||
((field
|
||||
name: (identifier) @_url
|
||||
value: (value
|
||||
(token
|
||||
(brace_word) @string.special.url)))
|
||||
(#any-of? @_url "url" "doi"))
|
||||
|
||||
[
|
||||
(key_brace)
|
||||
(key_paren)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue