mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
Adds queries and a parser mapping for the [Corn](https://github.com/jakestanger/corn) configuration language.
16 lines
158 B
Scheme
16 lines
158 B
Scheme
; scopes
|
|
|
|
[
|
|
(object)
|
|
(array)
|
|
] @scope
|
|
|
|
; definitions
|
|
|
|
(assign_block
|
|
(assignment
|
|
(input)
|
|
@definition.constant))
|
|
|
|
(value (input) @reference)
|
|
|