mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Partially Revert "fix(ecma): properly capture constants in const declarations"
This partially reverts commit c553e6c560.
This commit is contained in:
parent
1de237d10d
commit
964dc882e9
1 changed files with 0 additions and 5 deletions
|
|
@ -29,11 +29,6 @@
|
|||
((shorthand_property_identifier) @constant
|
||||
(#lua-match? @constant "^_*[A-Z][A-Z%d_]*$"))
|
||||
|
||||
(lexical_declaration
|
||||
"const"
|
||||
. (variable_declarator
|
||||
. name: (identifier) @constant))
|
||||
|
||||
((identifier) @variable.builtin
|
||||
(#vim-match? @variable.builtin "^(arguments|module|console|window|document)$"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue