Skip to content

Commit

Permalink
Re-add haskell/settings_schema.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Sep 17, 2024
1 parent 1c6dd5b commit 95777bf
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions languages/haskell/settings_schema.nix
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;
}
]

0 comments on commit 95777bf

Please sign in to comment.