mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
feat: add NQC
This commit is contained in:
parent
4a9adef710
commit
f0f115e926
8 changed files with 34 additions and 0 deletions
|
|
@ -294,6 +294,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
||||||
- [x] [ninja](https://github.com/alemuller/tree-sitter-ninja) (maintained by @alemuller)
|
- [x] [ninja](https://github.com/alemuller/tree-sitter-ninja) (maintained by @alemuller)
|
||||||
- [x] [nix](https://github.com/cstrahan/tree-sitter-nix) (maintained by @leo60228)
|
- [x] [nix](https://github.com/cstrahan/tree-sitter-nix) (maintained by @leo60228)
|
||||||
- [x] [norg](https://github.com/nvim-neorg/tree-sitter-norg) (maintained by @JoeyGrajciar, @vhyrro)
|
- [x] [norg](https://github.com/nvim-neorg/tree-sitter-norg) (maintained by @JoeyGrajciar, @vhyrro)
|
||||||
|
- [x] [nqc](https://github.com/amaanq/tree-sitter-nqc) (maintained by @amaanq)
|
||||||
- [x] [objc](https://github.com/amaanq/tree-sitter-objc) (maintained by @amaanq)
|
- [x] [objc](https://github.com/amaanq/tree-sitter-objc) (maintained by @amaanq)
|
||||||
- [x] [ocaml](https://github.com/tree-sitter/tree-sitter-ocaml) (maintained by @undu)
|
- [x] [ocaml](https://github.com/tree-sitter/tree-sitter-ocaml) (maintained by @undu)
|
||||||
- [x] [ocaml_interface](https://github.com/tree-sitter/tree-sitter-ocaml) (maintained by @undu)
|
- [x] [ocaml_interface](https://github.com/tree-sitter/tree-sitter-ocaml) (maintained by @undu)
|
||||||
|
|
|
||||||
|
|
@ -362,6 +362,9 @@
|
||||||
"norg": {
|
"norg": {
|
||||||
"revision": "1a305093569632de50f9a316ff843dcda25b4ef5"
|
"revision": "1a305093569632de50f9a316ff843dcda25b4ef5"
|
||||||
},
|
},
|
||||||
|
"nqc": {
|
||||||
|
"revision": "d8cebf03341d85ddef0ef590517446f9373b6fa8"
|
||||||
|
},
|
||||||
"objc": {
|
"objc": {
|
||||||
"revision": "62e61b6f5c0289c376d61a8c91faf6435cde9012"
|
"revision": "62e61b6f5c0289c376d61a8c91faf6435cde9012"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1095,6 +1095,14 @@ list.norg = {
|
||||||
maintainers = { "@JoeyGrajciar", "@vhyrro" },
|
maintainers = { "@JoeyGrajciar", "@vhyrro" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.nqc = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/amaanq/tree-sitter-nqc",
|
||||||
|
files = { "src/parser.c" },
|
||||||
|
},
|
||||||
|
maintainers = { "@amaanq" },
|
||||||
|
}
|
||||||
|
|
||||||
list.objc = {
|
list.objc = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/amaanq/tree-sitter-objc",
|
url = "https://github.com/amaanq/tree-sitter-objc",
|
||||||
|
|
|
||||||
1
queries/nqc/folds.scm
Normal file
1
queries/nqc/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
; inherits: c
|
||||||
18
queries/nqc/highlights.scm
Normal file
18
queries/nqc/highlights.scm
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
; inherits: c
|
||||||
|
|
||||||
|
[
|
||||||
|
"task"
|
||||||
|
"sub"
|
||||||
|
] @keyword.function
|
||||||
|
|
||||||
|
[
|
||||||
|
"until"
|
||||||
|
] @repeat
|
||||||
|
|
||||||
|
[
|
||||||
|
"acquire"
|
||||||
|
"monitor"
|
||||||
|
"catch"
|
||||||
|
"start"
|
||||||
|
"stop"
|
||||||
|
] @keyword.coroutine
|
||||||
1
queries/nqc/indents.scm
Normal file
1
queries/nqc/indents.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
; inherits: c
|
||||||
1
queries/nqc/injections.scm
Normal file
1
queries/nqc/injections.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
; inherits: c
|
||||||
1
queries/nqc/locals.scm
Normal file
1
queries/nqc/locals.scm
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
; inherits: c
|
||||||
Loading…
Add table
Add a link
Reference in a new issue