haskell-tools
URL: https://github.com/mrcjkb/haskell-tools.nvim
Maintainers: Saygo
plugins.haskell-tools.enable
Whether to enable haskell-tools.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.haskell-tools.enableTelescope
Whether to enable telescope integration.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.haskell-tools.package
The haskell-tools package to use.
Type: package
Default:
pkgs.vimPlugins.haskell-tools-nvim
Declared by:
plugins.haskell-tools.autoLoad
Whether to automatically load haskell-tools when neovim starts.
Type: boolean
Default:
false when lazy-loading is enabled.
Example:
false
Declared by:
plugins.haskell-tools.callSetup
Whether to generate the standard require('haskell-tools').setup(...) call for this plugin.
Explicitly set to true to force calling .setup().
Caution
A forced call can emit a duplicate or invalid setup. Some plugins generate custom setup code or have no real
haskell-toolsLua module.
Type: boolean
Default:
false
Declared by:
plugins.haskell-tools.hlsPackage
The haskell-language-server package to use.
Type: null or package
Default:
pkgs.haskell-language-server
Declared by:
plugins.haskell-tools.hlsPackageFallback
When enabled, hls will be added to the end of the PATH (suffix) instead of the beginning (prefix).
This can be useful if you want local versions of hls (e.g. from a devshell) to override the Nixvim version.
Type: boolean
Default:
true
Declared by:
plugins.haskell-tools.settings
Options provided to the require('haskell-tools').setup function.
Type: lua value
Default:
{ }
Example:
{
hls = {
default_settings = {
haskell = {
formattingProvider = "ormolu";
plugin = {
hlint = {
codeActionsOn = false;
diagnosticsOn = false;
};
importLens = {
codeActionsOn = false;
codeLensOn = false;
globalOn = false;
};
};
};
};
};
}
Declared by: