on master help sign in
add textobject queries for gleam
commitf7a3d357527ab30970c8da9a8ebea9e0df88329b authorMichael Davis <mcarsondavis@gmail.com> dateFri 3 Jun 2022, 09:31 (4 years ago) parentbcafdf4
2 files changed+7−1
book/src/generated/lang-support.md+1−1 runtime/queries/gleam/textobjects.scm+6
book/src/generated/lang-support.md+1−1
@@ -27,7 +27,7 @@
2727| git-diff | ✓ | | | |
2828| git-ignore | ✓ | | | |
2929| git-rebase | ✓ | | | |
30−| gleam | ✓ | | | |
30+| gleam | ✓ | ✓ | | |
3131| glsl | ✓ | | ✓ | |
3232| go | ✓ | ✓ | ✓ | `gopls` |
3333| 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