Skip to content

Commit

Permalink
Add elixir & heex comment textobjects (helix-editor#3179)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorlay authored and thomasskk committed Sep 9, 2022
1 parent 7a2c4a5 commit 479c077
Show file tree
Hide file tree
Showing 3 changed files with 4 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 @@ -39,7 +39,7 @@
| hare || || |
| haskell || | | `haskell-language-server-wrapper` |
| hcl || || `terraform-ls` |
| heex || | | |
| heex || | | |
| html || | | `vscode-html-language-server` |
| idris | | | | `idris2-lsp` |
| iex || | | |
Expand Down
2 changes: 2 additions & 0 deletions runtime/queries/elixir/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@
(arguments ((string) . (_)?))
(do_block (_)* @test.inside)?)
(#match? @_keyword "^(test|describe)$")) @test.around

(comment) @comment.around @comment.inside
1 change: 1 addition & 0 deletions runtime/queries/heex/textobjects.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(comment) @comment.around @comment.inside

0 comments on commit 479c077

Please sign in to comment.