aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/racket
diff options
context:
space:
mode:
authorMichael Davis2022-11-30 14:27:08 +0000
committerGitHub2022-11-30 14:27:08 +0000
commit67415e096ea70173d30550803559eb2347ed04d6 (patch)
tree6ab090c2ce9cd4dc572faae060357da980ade9ab /runtime/queries/racket
parent664d08e70d02a3e3917ddc69e66b5fc826a0caf1 (diff)
Fix file-types declaration for racket (#4915)
Both the racket and scheme entries used the rkt file-extension. This commit removes that entry for scheme and so that the racket entry takes precedence. We explicitly point to the scheme grammar now and setup queries that inherit from scheme. This should enable using the racket language server configuration.
Diffstat (limited to 'runtime/queries/racket')
-rw-r--r--runtime/queries/racket/highlights.scm1
-rw-r--r--runtime/queries/racket/injections.scm1
2 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/racket/highlights.scm b/runtime/queries/racket/highlights.scm
new file mode 100644
index 00000000..e11eb788
--- /dev/null
+++ b/runtime/queries/racket/highlights.scm
@@ -0,0 +1 @@
+; inherits: scheme
diff --git a/runtime/queries/racket/injections.scm b/runtime/queries/racket/injections.scm
new file mode 100644
index 00000000..e11eb788
--- /dev/null
+++ b/runtime/queries/racket/injections.scm
@@ -0,0 +1 @@
+; inherits: scheme