1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

Add Haskell text objects (#5061)

This commit is contained in:
Ollie Charles 2022-12-10 20:03:18 +00:00 committed by GitHub
parent f323ffabcc
commit 0e8ea13696
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

@ -51,7 +51,7 @@
| gowork | ✓ | | | `gopls` |
| graphql | ✓ | | | |
| hare | ✓ | | | |
| haskell | ✓ | | | `haskell-language-server-wrapper` |
| haskell | ✓ | | | `haskell-language-server-wrapper` |
| hcl | ✓ | | ✓ | `terraform-ls` |
| heex | ✓ | ✓ | | `elixir-ls` |
| html | ✓ | | | `vscode-html-language-server` |

@ -0,0 +1,13 @@
(comment) @comment.inside
[
(adt)
(decl_type)
(newtype)
] @class.around
((signature)? (function rhs:(_) @function.inside)) @function.around
(exp_lambda) @function.around
(adt (type_variable) @parameter.inside)
(patterns (_) @parameter.inside)