-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ lib | ||
, version | ||
}: | ||
|
||
lib.optionals (builtins.compareVersions version "9.0" >= 0) [ | ||
{ | ||
target = "lsp.haskell-language-server.enable"; | ||
title = "Enable haskell-language-server"; | ||
type = "boolean"; | ||
defaultValue = true; | ||
} | ||
{ | ||
target = "lsp.haskell-language-server.debug"; | ||
title = "Haskell-language-server: enable debug output"; | ||
description = "Print debug output for the notebook language server."; | ||
type = "boolean"; | ||
defaultValue = false; | ||
} | ||
{ | ||
target = "lsp.haskell-language-server.super-debug"; | ||
title = "Haskell-language-server: enable verbose debug output"; | ||
description = "Print verbose debug output; intended for developers."; | ||
type = "boolean"; | ||
defaultValue = false; | ||
} | ||
] | ||
++ [ | ||
{ | ||
target = "enableHlintOutput"; | ||
title = "Enable hlint warnings in code output."; | ||
description = "Show hlint warnings as part of Jupyter kernel output. Normally you don't want this because it is provided by haskell-language-server."; | ||
type = "boolean"; | ||
defaultValue = false; | ||
} | ||
] |