haskell / haskell/haskell-language-server

[QUESTION] Line breaker after constraints for type lenses

Open
#3,811 2 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
4d 3h
Merged PRs (30d)
12

Description

I was referred to here instead from https://github.com/emacs-lsp/lsp-haskell/issues/178.

## Is your enhancement request related to a problem? Please describe.

![image](https://github.com/emacs-lsp/lsp-haskell/assets/186660/3ddd7275-e642-4071-a7d6-333788a94949)

As illustrated above, it seems the codeLens of "ghcide-type-lenses"(?) break the lines right after the constraints section (after "=>"). Is it a known behavior?

## Describe the solution you'd like

Ideally, the line breaking should follow the max line length consistent with the editor settings, or at least configurable too.

## Describe alternatives you've considered

I have yet to dug deeper to see if it's something related to lsp emacs, or HLS itself.

## Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.