aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandr Martirosyan <66405062+alexandr-martirosyan@users.noreply.github.com>2024-12-06 21:41:37 +0400
committerGitHub <noreply@github.com>2024-12-06 18:41:37 +0100
commitbe17791f867f7a8b73f8c42e17971ff664d8038d (patch)
treef93389d41125ad3f11b24b85e2e815eb76b2540f
parentbot(lockfile): update c_sharp, powershell, t32 (diff)
downloadnvim-treesitter-be17791f867f7a8b73f8c42e17971ff664d8038d.tar
nvim-treesitter-be17791f867f7a8b73f8c42e17971ff664d8038d.tar.gz
nvim-treesitter-be17791f867f7a8b73f8c42e17971ff664d8038d.tar.bz2
nvim-treesitter-be17791f867f7a8b73f8c42e17971ff664d8038d.tar.lz
nvim-treesitter-be17791f867f7a8b73f8c42e17971ff664d8038d.tar.xz
nvim-treesitter-be17791f867f7a8b73f8c42e17971ff664d8038d.tar.zst
nvim-treesitter-be17791f867f7a8b73f8c42e17971ff664d8038d.zip
feat(circom): add parser and queries
-rw-r--r--lockfile.json3
-rw-r--r--lua/nvim-treesitter/parsers.lua8
-rw-r--r--queries/circom/folds.scm13
-rw-r--r--queries/circom/highlights.scm137
-rw-r--r--queries/circom/injections.scm2
-rw-r--r--queries/circom/locals.scm12
6 files changed, 175 insertions, 0 deletions
diff --git a/lockfile.json b/lockfile.json
index 4931e3b4f..05f673feb 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -65,6 +65,9 @@
"chatito": {
"revision": "b4cbe9ab7672d5106e9550d8413835395a1be362"
},
+ "circom": {
+ "revision": "02150524228b1e6afef96949f2d6b7cc0aaf999e"
+ },
"clojure": {
"revision": "f4236d4da8aa92bc105d9c118746474c608e6af7"
},
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 24642824e..1fe72bc89 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -249,6 +249,14 @@ list.chatito = {
maintainers = { "@ObserverOfTime" },
}
+list.circom = {
+ install_info = {
+ url = "https://github.com/Decurity/tree-sitter-circom",
+ files = { "src/parser.c" },
+ },
+ maintainers = { "@alexandr-martirosyan" },
+}