mirror of https://github.com/helix-editor/helix
tree-sitter: update Inko grammar and queries (#14022)
parent
22b184b570
commit
715d4ae2d5
|
@ -112,7 +112,7 @@
|
|||
| iex | ✓ | | | | |
|
||||
| ini | ✓ | | | | |
|
||||
| ink | ✓ | | | | |
|
||||
| inko | ✓ | ✓ | ✓ | | |
|
||||
| inko | ✓ | ✓ | ✓ | ✓ | |
|
||||
| janet | ✓ | | | | |
|
||||
| java | ✓ | ✓ | ✓ | | `jdtls` |
|
||||
| javascript | ✓ | ✓ | ✓ | ✓ | `typescript-language-server` |
|
||||
|
|
|
@ -3068,7 +3068,7 @@ formatter = { command = "inko", args = ["fmt", "-"] }
|
|||
|
||||
[[grammar]]
|
||||
name = "inko"
|
||||
source = { git = "https://github.com/inko-lang/tree-sitter-inko", rev = "7860637ce1b43f5f79cfb7cc3311bf3234e9479f" }
|
||||
source = { git = "https://github.com/inko-lang/tree-sitter-inko", rev = "f58a87ac4dc6a7955c64c9e4408fbd693e804686" }
|
||||
|
||||
[[language]]
|
||||
name = "bicep"
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
] @keyword.operator
|
||||
|
||||
[
|
||||
"class"
|
||||
"type"
|
||||
"trait"
|
||||
] @keyword.storage.type
|
||||
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
(class
|
||||
name: _ @definition.struct)
|
||||
|
||||
(trait
|
||||
name: _ @definition.interface)
|
||||
|
||||
(external_function
|
||||
name: _ @definition.function)
|
||||
|
||||
(method
|
||||
name: _ @definition.function)
|
||||
|
||||
(define_constant
|
||||
name: _ @definition.constant)
|
Loading…
Reference in New Issue