nvim: move to services we do not specify a pkgset
This commit is contained in:
parent
465a6b19d1
commit
11b98d8146
45 changed files with 38 additions and 37 deletions
|
@ -1,26 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
lib.optionalAttrs (lib.elem "nvim::lsp::yaml" config.machine.pkgs) {
|
||||
yamlls = {
|
||||
cmd = [
|
||||
"${pkgs.yaml-language-server}/bin/yaml-language-server"
|
||||
"--stdio"
|
||||
];
|
||||
settings = {
|
||||
yaml = {
|
||||
schemaStore = {
|
||||
# Disable to use Store from SchemaStore-nvim plugin
|
||||
enable = false;
|
||||
# Avoid TypeError: Cannot read properties of undefined (reading 'length')
|
||||
url = "";
|
||||
};
|
||||
schemas = _: "require('schemastore').yaml.schemas()";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue