mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(highlights): Add TSNamespace highlight
Start adding highlights for
- C++
- Rust (including other scoped_identifier/scoped_type_identifier fixes)
- JS (only namespace_import)
Addresses #516
This commit is contained in:
parent
f5ac2b4a1a
commit
45397ebbd9
8 changed files with 46 additions and 12 deletions
|
|
@ -90,6 +90,11 @@
|
|||
(rest_parameter
|
||||
(identifier) @parameter))
|
||||
|
||||
; Variables
|
||||
;----------
|
||||
(namespace_import
|
||||
(identifier) @namespace)
|
||||
|
||||
; Literals
|
||||
;---------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue