summaryrefslogtreecommitdiff
path: root/runtime/queries/julia/injections.scm
diff options
context:
space:
mode:
authorMichael Davis2021-12-19 14:56:56 +0000
committerGitHub2021-12-19 14:56:56 +0000
commite72786df8eae5684c0330be18f190a33f516da76 (patch)
tree789dbb20133585155cd4554d30c3ef9580bf9434 /runtime/queries/julia/injections.scm
parent7c01d926536bcaacc92bbf4a2b1a06e96e6268a0 (diff)
Add tree-sitter-comment (#1300)
* Add tree-sitter-comment Fix #1164 * fix precedence in tree-sitter-comment highlights connects https://github.com/helix-editor/helix/pull/1170 * set injection-regex for comment language * remove comment filetype * fix comment injections for neovim-style injections tags * add comment injections for elixir * remove f.comment * fix spacing in .gitmodules * run 'cargo xtask docgen' Co-authored-by: Ivan Tham <pickfire@riseup.net>
Diffstat (limited to 'runtime/queries/julia/injections.scm')
-rw-r--r--runtime/queries/julia/injections.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/queries/julia/injections.scm b/runtime/queries/julia/injections.scm
index be2412c0..3cf7339f 100644
--- a/runtime/queries/julia/injections.scm
+++ b/runtime/queries/julia/injections.scm
@@ -1,5 +1,7 @@
; TODO: re-add when markdown is added.
-; ((triple_string) @markdown
-; (#offset! @markdown 0 3 0 -3))
+; ((triple_string) @injection.content
+; (#offset! @injection.content 0 3 0 -3)
+; (#set! injection.language "markdown"))
-(comment) @comment
+((comment) @injection.content
+ (#set! injection.language "comment"))