Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to configure HLS #245

Open
Tracked by #171
srid opened this issue Feb 26, 2024 · 1 comment
Open
Tracked by #171

Document how to configure HLS #245

srid opened this issue Feb 26, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@srid
Copy link
Owner

srid commented Feb 26, 2024

For eg., to disable ormolu/fourmolu,

{
    settings.haskell-language-server.custom = with pkgs.haskell.lib.compose; lib.flip lib.pipe [
      (disableCabalFlag "ormolu")
      (disableCabalFlag "fourmolu")
      (drv: drv.override { hls-ormolu-plugin = null; })
      (drv: drv.override { hls-fourmolu-plugin = null; })
    ];
}

(from @shivaraj-bh )

We can create a https://community.flake.parts/haskell-flake/hls page for it.

@srid srid added the documentation Improvements or additions to documentation label Feb 26, 2024
@srid srid added this to the 0.5.0 milestone Feb 26, 2024
@srid srid mentioned this issue Feb 26, 2024
6 tasks
@srid
Copy link
Owner Author

srid commented Apr 22, 2024

The above code no longer works.

EDIT: It works on older nixpkgs (2022), but not on the latest one.

shivaraj-bh added a commit to shivaraj-bh/haskell-flake that referenced this issue May 14, 2024
srid added a commit that referenced this issue May 16, 2024
* docs(hls): init HLS doc; document how to disable HLS

A start to #245

* edit

---------

Co-authored-by: Sridhar Ratnakumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant