Logo
Explore Help
Sign In
realAscot/helix-editor
realAscot/helix-editor
1
0
Fork 0
You've already forked helix-editor
mirror of https://github.com/realAscot/helix.git synced 2025-09-15 04:33:04 +02:00
Code Issues Packages Projects Releases Wiki Activity
helix-editor/runtime/queries/elixir/injections.scm

10 lines
244 B
Scheme
Raw Normal View History

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>
2021-12-19 08:56:56 -06:00
((comment) @injection.content
(#set! injection.language "comment"))
add tree-sitter-regex (#1362) * add tree-sitter-regex * adapt regex highlights from upstream * inject regex into elixir sigil_r/2 and sigil_R/2 * generate lang-support docs * capture interesting nodes in character-ranges * make $.character_class captures more consistent * fix fallthrough behavior for character classes * capture pattern characters as 'string' * use latest tree-sitter-regex * set elixir regex injections as combined * add link to upstream queries * inject regex in rust into 'Regex::new' raw string literals
2022-01-06 09:00:00 -06:00
((sigil
(sigil_name) @_sigil_name
(quoted_content) @injection.content)
(#match? @_sigil_name "^(r|R)$")
(#set! injection.language "regex")
(#set! injection.combined))
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 321ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API