mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -04:00
feat(roc): switch to active upstream
This commit is contained in:
parent
921763b23d
commit
47994d7e89
5 changed files with 14 additions and 27 deletions
|
|
@ -79,29 +79,12 @@
|
|||
] @keyword
|
||||
|
||||
;----headers-----
|
||||
(interface_header
|
||||
(name) @type.definition)
|
||||
|
||||
(imports
|
||||
(imports_entry
|
||||
(module) @module))
|
||||
|
||||
(packages
|
||||
(record_pattern
|
||||
(record_field_pattern
|
||||
(field_name) @module)))
|
||||
|
||||
(app_name) @string.special
|
||||
|
||||
(import_path) @string.special.path
|
||||
|
||||
[
|
||||
"app"
|
||||
"packages"
|
||||
"provides"
|
||||
"interface"
|
||||
"exposes"
|
||||
"expect"
|
||||
"module"
|
||||
"package"
|
||||
"import"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
|
|
@ -184,6 +167,9 @@
|
|||
(float)
|
||||
] @number.float
|
||||
|
||||
(string) @string
|
||||
[
|
||||
(string)
|
||||
(multiline_string)
|
||||
] @string
|
||||
|
||||
(char) @character
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
(exposes_list
|
||||
(ident) @local.reference)
|
||||
|
||||
(import_expr
|
||||
(as)
|
||||
(module) @local.definition)
|
||||
|
||||
(opaque_type_def
|
||||
(apply_type
|
||||
(concrete_type) @local.definition.type))
|
||||
|
|
@ -31,9 +35,6 @@
|
|||
(identifier_pattern
|
||||
(identifier) @local.definition)
|
||||
|
||||
(exposes
|
||||
(ident) @local.reference)
|
||||
|
||||
(identifier) @local.reference
|
||||
|
||||
(tag_expr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue