mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 22:40:12 -04:00
feat: more @keyword.type captures
This commit is contained in:
parent
f0a1a13316
commit
f58cae6c22
74 changed files with 395 additions and 239 deletions
|
|
@ -90,13 +90,10 @@
|
|||
(where)
|
||||
"let"
|
||||
"in"
|
||||
"class"
|
||||
"instance"
|
||||
"derive"
|
||||
"foreign"
|
||||
"data"
|
||||
"newtype"
|
||||
"type"
|
||||
"as"
|
||||
"hiding"
|
||||
"do"
|
||||
|
|
@ -108,6 +105,12 @@
|
|||
"infixr"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"type"
|
||||
"newtype"
|
||||
"class"
|
||||
] @keyword.type
|
||||
|
||||
(class_instance
|
||||
"else" @keyword)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue