Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.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: