mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -04:00
highlights(ecma): use KeywordFunction as a highlight group for function
This commit is contained in:
parent
f51e07e9fa
commit
68bf36c917
1 changed files with 4 additions and 1 deletions
|
|
@ -210,7 +210,6 @@
|
||||||
"debugger"
|
"debugger"
|
||||||
"export"
|
"export"
|
||||||
"extends"
|
"extends"
|
||||||
"function"
|
|
||||||
"get"
|
"get"
|
||||||
"in"
|
"in"
|
||||||
"instanceof"
|
"instanceof"
|
||||||
|
|
@ -227,6 +226,10 @@
|
||||||
"yield"
|
"yield"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
|
[
|
||||||
|
"function"
|
||||||
|
] @keyword.function
|
||||||
|
|
||||||
[
|
[
|
||||||
"new"
|
"new"
|
||||||
"delete"
|
"delete"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue