{
  languageserver = {
    dhall = {
      command = "dhall-lsp-server";
      filetypes = [ "dhall" ];
    };

    haskell = {
      command = "haskell-language-server-wrapper";
      args = [ "--lsp" ];
      rootPatterns = [
        "stack.yaml"
        "hie.yaml"
        ".hie-bios"
        "BUILD.bazel"
        ".cabal"
        "cabal.project"
        "package.yaml"
      ];
      filetypes = [ "hs" "lhs" "haskell" ];
    };

    nix = {
      command = "rnix-lsp";
      filetypes = [ "nix" ];
    };
  };

  "yank.highlight.duration" = 700;
}
