Skip to content

Commit

Permalink
add textobjects queries for hurl (helix-editor#10594)
Browse files Browse the repository at this point in the history
* add textobjects queries comment and function

* update doc for hurl lang support

* switch entry.inner to entry.outer

* switch to function.inside

---------

Co-authored-by: Tobias Eiß <[email protected]>
  • Loading branch information
2 people authored and Vulpesx committed Jun 7, 2024
1 parent 28343b7 commit 20fd0ed
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -83,7 +83,7 @@
| hoon || | | |
| hosts || | | |
| html || | | `vscode-html-language-server` |
| hurl || || |
| hurl || || |
| hyprlang || || |
| idris | | | | `idris2-lsp` |
| iex || | | |
Expand Down
5 changes: 5 additions & 0 deletions runtime/queries/hurl/textobjects.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(comment) @comment.inside

(comment)+ @comment.around

(entry (_) @function.inside) @function.around

0 comments on commit 20fd0ed

Please sign in to comment.