-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(hls): init HLS doc; document how to disable HLS
A start to #245
- Loading branch information
1 parent
988a785
commit d9c75b0
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
order: -8 | ||
--- | ||
|
||
# haskell-language-server | ||
|
||
haskell-flake enables [haskell-language-server](https://github.com/haskell/haskell-language-server) and [a few other tools by default](https://github.com/srid/haskell-flake/blob/988a78590c158c5fa0b4893de793c9c783b9d7e9/nix/modules/project/defaults.nix#L23-L29). | ||
{#disable} | ||
## Disabling haskell-language-server | ||
|
||
> [!note] | ||
> Only applicable if `haskellProjects.<proj-name>.defaults.enable = true;` | ||
You can set your own `devShell.tools` defaults, that does not include `haskell-language-server`, as follows: | ||
|
||
```nix | ||
{ | ||
haskellProjects.<proj-name> = { | ||
defaults.devShell.tools = hp: with hp; { | ||
inherit | ||
cabal-install | ||
ghcid; | ||
}; | ||
}; | ||
} | ||
``` | ||
|
||
{#disable-plugins} | ||
## Disabling plugins | ||
|
||
>[!warning] TODO | ||
> See here for current status: <https://github.com/srid/haskell-flake/issues/245> |