aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorEloi Torrents2023-01-23 18:10:27 +0000
committerGitHub2023-01-23 18:10:27 +0000
commit7e191f59157d024e8b8aaabc62f292183d39f6f9 (patch)
tree830236d3e9f2b0c18d22a4f80b257a53bfbc639d /runtime/queries
parent361a8344866841799199e362285b119960151eff (diff)
Support sagemath language (#5649)
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/sage/highlights.scm1
-rw-r--r--runtime/queries/sage/injections.scm2
-rw-r--r--runtime/queries/sage/textobjects.scm1
3 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/sage/highlights.scm b/runtime/queries/sage/highlights.scm
new file mode 100644
index 00000000..0b920cbf
--- /dev/null
+++ b/runtime/queries/sage/highlights.scm
@@ -0,0 +1 @@
+; inherits: python
diff --git a/runtime/queries/sage/injections.scm b/runtime/queries/sage/injections.scm
new file mode 100644
index 00000000..321c90ad
--- /dev/null
+++ b/runtime/queries/sage/injections.scm
@@ -0,0 +1,2 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))
diff --git a/runtime/queries/sage/textobjects.scm b/runtime/queries/sage/textobjects.scm
new file mode 100644
index 00000000..0b920cbf
--- /dev/null
+++ b/runtime/queries/sage/textobjects.scm
@@ -0,0 +1 @@
+; inherits: python