mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
QL: support modules
This commit is contained in:
parent
b4ec3ae3f5
commit
6716ba9479
1 changed files with 3 additions and 0 deletions
|
|
@ -102,6 +102,9 @@
|
|||
"|"
|
||||
] @punctuation.delimiter
|
||||
|
||||
(moduleExpr (simpleId) @namespace)
|
||||
(module name: (moduleName) @namespace)
|
||||
|
||||
(dataclass name: (className) @type)
|
||||
(datatype name: (className) @type)
|
||||
(typeExpr name: (className) @type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue