on master help sign in
Add elixir & heex comment textobjects (#3179)
b55573dClay
book/src/generated/lang-support.md+1−1
@@ -39,7 +39,7 @@
39| hare | ✓ | | ✓ | |
39| hare | ✓ | | ✓ | |
40| haskell | ✓ | | | `haskell-language-server-wrapper` |
40| haskell | ✓ | | | `haskell-language-server-wrapper` |
41| hcl | ✓ | | ✓ | `terraform-ls` |
41| hcl | ✓ | | ✓ | `terraform-ls` |
42−| heex | ✓ | | | |
42+| heex | ✓ | ✓ | | |
43| html | ✓ | | | `vscode-html-language-server` |
43| html | ✓ | | | `vscode-html-language-server` |
44| idris | | | | `idris2-lsp` |
44| idris | | | | `idris2-lsp` |
45| iex | ✓ | | | |
45| iex | ✓ | | | |
runtime/queries/elixir/textobjects.scm+2
@@ -31,3 +31,5 @@
31 (arguments ((string) . (_)?))
31 (arguments ((string) . (_)?))
32 (do_block (_)* @test.inside)?)
32 (do_block (_)* @test.inside)?)
33 (#match? @_keyword "^(test|describe)$")) @test.around
33 (#match? @_keyword "^(test|describe)$")) @test.around
34+
35+(comment) @comment.around @comment.inside
runtime/queries/heex/textobjects.scmnew file+1
@@ -0,0 +1 @@
1+(comment) @comment.around @comment.inside