mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
Add Haskell text objects (#5061)
This commit is contained in:
parent
f323ffabcc
commit
0e8ea13696
@ -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` |
|
||||
|
13
runtime/queries/haskell/textobjects.scm
Normal file
13
runtime/queries/haskell/textobjects.scm
Normal 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)
|
Loading…
Reference in New Issue
Block a user