mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 09:56:19 +04:00
e72786df8e
* 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>
13 lines
340 B
Scheme
13 lines
340 B
Scheme
([(line_comment) (block_comment)] @injection.content
|
|
(#set! injection.language "comment"))
|
|
|
|
((macro_invocation
|
|
(token_tree) @injection.content)
|
|
(#set! injection.language "rust")
|
|
(#set! injection.include-children))
|
|
|
|
((macro_rule
|
|
(token_tree) @injection.content)
|
|
(#set! injection.language "rust")
|
|
(#set! injection.include-children))
|