aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/starlark
diff options
context:
space:
mode:
authorMichael Davis2022-06-28 03:18:38 +0000
committerGitHub2022-06-28 03:18:38 +0000
commit64cf4c859b67c98042e2d66f26be0ce4a7afc6e0 (patch)
tree8388e059d6886417fd015f23d8365733971a5c4f /runtime/queries/starlark
parent6f932375bf47ebc1d4da1e5445fdbc82ea53453f (diff)
support Bazel languages (#2903)
Diffstat (limited to 'runtime/queries/starlark')
-rw-r--r--runtime/queries/starlark/highlights.scm1
-rw-r--r--runtime/queries/starlark/injections.scm2
-rw-r--r--runtime/queries/starlark/textobjects.scm1
3 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/starlark/highlights.scm b/runtime/queries/starlark/highlights.scm
new file mode 100644
index 00000000..0b920cbf
--- /dev/null
+++ b/runtime/queries/starlark/highlights.scm
@@ -0,0 +1 @@
+; inherits: python
diff --git a/runtime/queries/starlark/injections.scm b/runtime/queries/starlark/injections.scm
new file mode 100644
index 00000000..321c90ad
--- /dev/null
+++ b/runtime/queries/starlark/injections.scm
@@ -0,0 +1,2 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))
diff --git a/runtime/queries/starlark/textobjects.scm b/runtime/queries/starlark/textobjects.scm
new file mode 100644
index 00000000..0b920cbf
--- /dev/null
+++ b/runtime/queries/starlark/textobjects.scm
@@ -0,0 +1 @@
+; inherits: python