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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -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` |

View File

@ -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)