MyNixOS website logo
option

programs.neovim.coc.settings

Extra configuration lines to add to $XDG_CONFIG_HOME/nvim/coc-settings.json See https://github.com/neoclide/coc.nvim/wiki/Using-the-configuration-file for options.

Declarations
Type
JSON value
Default
{ }
Example
{
  languageserver = {
    haskell = {
      args = [
        "--lsp"
      ];
      command = "haskell-language-server-wrapper";
      filetypes = [
        "haskell"
        "lhaskell"
      ];
      rootPatterns = [
        "*.cabal"
        "stack.yaml"
        "cabal.project"
        "package.yaml"
        "hie.yaml"
      ];
    };
  };
  "suggest.disableKind" = true;
  "suggest.enablePreselect" = false;
  "suggest.enablePreview" = true;
  "suggest.noselect" = true;
}