mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
add textobject queries for gleam
This commit is contained in:
parent
bcafdf404f
commit
f7a3d35752
@ -27,7 +27,7 @@
|
||||
| git-diff | ✓ | | | |
|
||||
| git-ignore | ✓ | | | |
|
||||
| git-rebase | ✓ | | | |
|
||||
| gleam | ✓ | | | |
|
||||
| gleam | ✓ | ✓ | | |
|
||||
| glsl | ✓ | | ✓ | |
|
||||
| go | ✓ | ✓ | ✓ | `gopls` |
|
||||
| gomod | ✓ | | | `gopls` |
|
||||
|
6
runtime/queries/gleam/textobjects.scm
Normal file
6
runtime/queries/gleam/textobjects.scm
Normal file
@ -0,0 +1,6 @@
|
||||
(function
|
||||
parameters: (function_parameters (function_parameter)? @parameter.inside)
|
||||
body: (function_body) @function.inside) @function.around
|
||||
|
||||
(anonymous_function
|
||||
body: (function_body) @function.inside) @function.around
|
Loading…
Reference in New Issue
Block a user