aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMichael Davis2021-10-16 08:58:04 +0000
committerGitHub2021-10-16 08:58:04 +0000
commite069fb9dea0d41eedb9257050f2231b7b0b88d0e (patch)
tree15eaaec8b93a8eab941fa9515c851e3562287a06 /languages.toml
parent43465926be77e6890203fe6a4942f674bfb2a8f4 (diff)
Add highlight support for tree-sitter-query language (tsq) (#845)
* add submodule on tree-sitter/tree-sitter-tsq mark tsq submodule as shallow * add tree-sitter-tsq to languages * add highlight queries for tsq * Update .gitmodules Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 7715425b..60b996c0 100644
--- a/languages.toml
+++ b/languages.toml
@@ -328,3 +328,11 @@ language-server = { command = "swipl", args = [
"-g", "use_module(library(lsp_server))",
"-g", "lsp_server:main",
"-t", "halt", "--", "stdio"] }
+
+[[language]]
+name = "tsq"
+scope = "source.tsq"
+file-types = ["scm"]
+roots = []
+comment-token = ";"
+indent = { tab-width = 2, unit = " " }