Skip to content

Commit

Permalink
add textobject queries for gleam
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Jun 6, 2022
1 parent 5efe467 commit fd86411
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
| git-diff || | | |
| git-ignore || | | |
| git-rebase || | | |
| gleam || | | |
| gleam || | | |
| glsl || || |
| go |||| `gopls` |
| gomod || | | `gopls` |
Expand Down
6 changes: 6 additions & 0 deletions runtime/queries/gleam/textobjects.scm
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fd86411

Please sign in to comment.