mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 20:07:44 +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
9
runtime/queries/rescript/textobjects.scm
Normal file
9
runtime/queries/rescript/textobjects.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
; Classes (modules)
|
||||
;------------------
|
||||
|
||||
(module_declaration definition: ((_) @class.inside)) @class.around
|
||||
|
||||
; Functions
|
||||
;----------
|
||||
|
||||
(function body: (_) @function.inside) @function.around
|
Loading…
Add table
Add a link
Reference in a new issue