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 12:43:04 +02:00
Code Issues Packages Projects Releases Wiki Activity
helix-editor/runtime/queries/haskell/injections.scm

15 lines
348 B
Scheme
Raw Normal View History

tree sitter comments injections (#1527) * tree sitter comments injections * trailing newlines & julia fix * Update runtime/queries/julia/injections.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> Co-authored-by: Michael Davis <michael.davis@nfiindustries.com>
2022-01-20 16:50:06 +01:00
((comment) @injection.content
(#set! injection.language "comment"))
tree-sitter(haskell): use quasiquoters as an injection point (#6474) Similar to tagged templates in JS, quasiquoters allow to embed external languages in haskell, so it makes sense to treat them as an injection point.
2023-04-12 16:36:57 +02:00
Add language support for persistent library syntax (#7261)
2023-07-09 11:17:01 -06:00
(quasiquote
(quoter) @_quoter
((quasiquote_body) @injection.content
(#match? @_quoter "(persistWith|persistLowerCase|persistUpperCase)")
(#set! injection.language "haskell-persistent")
)
)
tree-sitter(haskell): use quasiquoters as an injection point (#6474) Similar to tagged templates in JS, quasiquoters allow to embed external languages in haskell, so it makes sense to treat them as an injection point.
2023-04-12 16:36:57 +02:00
(quasiquote
(quoter) @injection.language
(quasiquote_body) @injection.content)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 180ms Template: 15ms
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