Revert the kak-lsp broken config
This commit is contained in:
parent
feca54585c
commit
f96e48e3b4
|
@ -4,7 +4,7 @@ with lib;
|
||||||
let
|
let
|
||||||
lspConfig =
|
lspConfig =
|
||||||
{
|
{
|
||||||
language_servers = {
|
languages = {
|
||||||
bash = {
|
bash = {
|
||||||
args = [ "start" ];
|
args = [ "start" ];
|
||||||
command = "bash-language-server";
|
command = "bash-language-server";
|
||||||
|
@ -259,7 +259,7 @@ in
|
||||||
description = "Server timeout";
|
description = "Server timeout";
|
||||||
};
|
};
|
||||||
|
|
||||||
language_servers = mkOption {
|
languages = mkOption {
|
||||||
type = types.attrsOf languageOption;
|
type = types.attrsOf languageOption;
|
||||||
default = { };
|
default = { };
|
||||||
description = "The language options";
|
description = "The language options";
|
||||||
|
@ -283,7 +283,7 @@ in
|
||||||
server.timeout = cfg.serverTimeout;
|
server.timeout = cfg.serverTimeout;
|
||||||
snippet_support = cfg.enableSnippets;
|
snippet_support = cfg.enableSnippets;
|
||||||
verbosity = 255;
|
verbosity = 255;
|
||||||
language_server = lspConfig.language_servers // cfg.language_servers;
|
language = lspConfig.languages // cfg.languages;
|
||||||
})
|
})
|
||||||
} \
|
} \
|
||||||
> $out
|
> $out
|
||||||
|
|
Loading…
Reference in a new issue