mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add @keyword.operator for operators that are English words and add @exception for Java/JS
This commit is contained in:
parent
c1313ba7af
commit
7e3c4f8089
10 changed files with 75 additions and 27 deletions
|
|
@ -131,9 +131,10 @@ are optional and will not have any effect for now.
|
|||
@conditional
|
||||
@repeat
|
||||
@label for C/Lua-like labels
|
||||
@operator
|
||||
@keyword
|
||||
@keyword.function
|
||||
@keyword.operator (for operators that are English words, e.g. `and`, `or`)
|
||||
@operator (for symbolic operators, e.g. `+`, `*`)
|
||||
@exception
|
||||
@include keywords for including modules (e.g. import/from in Python)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue