mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(fish): highlight $ punctuation.special
This commit is contained in:
parent
54fc8e311c
commit
684eeac91e
1 changed files with 4 additions and 1 deletions
|
|
@ -106,7 +106,7 @@
|
|||
])
|
||||
|
||||
(command_substitution
|
||||
"$" @punctuation.bracket)
|
||||
"$" @punctuation.special)
|
||||
|
||||
; non-builtin command names
|
||||
(command
|
||||
|
|
@ -157,6 +157,9 @@
|
|||
|
||||
(variable_expansion) @constant
|
||||
|
||||
(variable_expansion
|
||||
"$" @punctuation.special) @none
|
||||
|
||||
; Reference: https://fishshell.com/docs/current/language.html#special-variables
|
||||
((variable_name) @variable.builtin
|
||||
(#any-of? @variable.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue