summaryrefslogtreecommitdiff
path: root/runtime/queries/sway/injections.scm
diff options
context:
space:
mode:
authorSophie Dankel2023-02-25 18:47:54 +0000
committerGitHub2023-02-25 18:47:54 +0000
commitf69bb411691ba023951168e8ee865795328294bb (patch)
tree939be9cae7b7202875797801059f734a62cda1ac /runtime/queries/sway/injections.scm
parent0cbb61c3a45f605f685897027ec0dc606ec8bef5 (diff)
Add language support for sway (#6023)
Diffstat (limited to 'runtime/queries/sway/injections.scm')
-rw-r--r--runtime/queries/sway/injections.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/sway/injections.scm b/runtime/queries/sway/injections.scm
new file mode 100644
index 00000000..e4509a5f
--- /dev/null
+++ b/runtime/queries/sway/injections.scm
@@ -0,0 +1,2 @@
+([(line_comment) (block_comment)] @injection.content
+ (#set! injection.language "comment"))