feat: add language support for corn (#4864)

Adds queries and a parser mapping for the [Corn](https://github.com/jakestanger/corn)
configuration language.
This commit is contained in:
Jake Stanger 2023-05-29 09:26:28 +01:00 committed by GitHub
parent e23d5493cf
commit dc38ff85d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 65 additions and 0 deletions

16
queries/corn/locals.scm Normal file
View file

@ -0,0 +1,16 @@
; scopes
[
(object)
(array)
] @scope
; definitions
(assign_block
(assignment
(input)
@definition.constant))
(value (input) @reference)