Skip to content

Commit

Permalink
add textobjects queries for hurl (#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
TobiEiss and Tobias Eiß authored Apr 29, 2024
1 parent eeb8782 commit d8701bf
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 d8701bf

Please sign in to comment.