on master help sign in
add textobject queries for gleam
f7a3d35Michael Davis
book/src/generated/lang-support.md+1−1
@@ -27,7 +27,7 @@
27| git-diff | ✓ | | | |
27| git-diff | ✓ | | | |
28| git-ignore | ✓ | | | |
28| git-ignore | ✓ | | | |
29| git-rebase | ✓ | | | |
29| git-rebase | ✓ | | | |
30−| gleam | ✓ | | | |
30+| gleam | ✓ | ✓ | | |
31| glsl | ✓ | | ✓ | |
31| glsl | ✓ | | ✓ | |
32| go | ✓ | ✓ | ✓ | `gopls` |
32| go | ✓ | ✓ | ✓ | `gopls` |
33| gomod | ✓ | | | `gopls` |
33| gomod | ✓ | | | `gopls` |
runtime/queries/gleam/textobjects.scmnew file+6
@@ -0,0 +1,6 @@
1+(function
2+ parameters: (function_parameters (function_parameter)? @parameter.inside)
3+ body: (function_body) @function.inside) @function.around
4+
5+(anonymous_function
6+ body: (function_body) @function.inside) @function.around