mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-07 04:47:45 +03:00
feat(languages): rescript (#1616)
* Add rescript language support * cargo xtask docgen * Add textobjects & file line ending * Fix text objects & rerun docgen * Fix textobjects queries
This commit is contained in:
parent
6c11708fb3
commit
f5b95beef6
7 changed files with 213 additions and 0 deletions
8
runtime/queries/rescript/injections.scm
Normal file
8
runtime/queries/rescript/injections.scm
Normal file
|
@ -0,0 +1,8 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((raw_js) @injection.content
|
||||
(#set! injection.language "javascript"))
|
||||
|
||||
((raw_gql) @injection.content
|
||||
(#set! injection.language "graphql"))
|
Loading…
Add table
Add a link
Reference in a new issue