1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-06-06 21:36:04 +02:00

Add textobject queries for Nix (#9659)

* Add textobject queries for Nix

* Add to lang-support.md
This commit is contained in:
Jaakko Paju 2024-02-19 01:46:13 +02:00 committed by GitHub
parent c72426cc87
commit 2dc9ce68ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View File

@ -112,7 +112,7 @@
| nasm | ✓ | ✓ | | |
| nickel | ✓ | | ✓ | `nls` |
| nim | ✓ | ✓ | ✓ | `nimlangserver` |
| nix | ✓ | | | `nil` |
| nix | ✓ | | | `nil` |
| nu | ✓ | | | `nu` |
| nunjucks | ✓ | | | |
| ocaml | ✓ | | ✓ | `ocamllsp` |

View File

@ -0,0 +1,9 @@
(comment) @comment.inside
(comment)+ @comment.around
(formals
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(function_expression
body: (_) @function.inside) @function.around