Add textobject queries for HCL (#9658)
* Add textobject queries for HCL * Add to lang-support.md
This commit is contained in:
parent
2dc9ce68ec
commit
ebf155d635
2 changed files with 7 additions and 1 deletions
|
@ -68,7 +68,7 @@
|
||||||
| hare | ✓ | | | |
|
| hare | ✓ | | | |
|
||||||
| haskell | ✓ | ✓ | | `haskell-language-server-wrapper` |
|
| haskell | ✓ | ✓ | | `haskell-language-server-wrapper` |
|
||||||
| haskell-persistent | ✓ | | | |
|
| haskell-persistent | ✓ | | | |
|
||||||
| hcl | ✓ | | ✓ | `terraform-ls` |
|
| hcl | ✓ | ✓ | ✓ | `terraform-ls` |
|
||||||
| heex | ✓ | ✓ | | `elixir-ls` |
|
| heex | ✓ | ✓ | | `elixir-ls` |
|
||||||
| hocon | ✓ | | ✓ | |
|
| hocon | ✓ | | ✓ | |
|
||||||
| hoon | ✓ | | | |
|
| hoon | ✓ | | | |
|
||||||
|
|
6
runtime/queries/hcl/textobjects.scm
Normal file
6
runtime/queries/hcl/textobjects.scm
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
(comment) @comment.inside
|
||||||
|
(comment)+ @comment.around
|
||||||
|
|
||||||
|
(function_arguments
|
||||||
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||||||
|
|
Loading…
Reference in a new issue