mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
languages/nix: use stricter type for lsp.server
This commit is contained in:
parent
da86e554a6
commit
30a8a8fce0
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ in {
|
|||
enable = mkEnableOption "Nix LSP support" // {default = config.vim.languages.enableLSP;};
|
||||
server = mkOption {
|
||||
description = "Nix LSP server to use";
|
||||
type = str;
|
||||
type = enum (attrNames servers);
|
||||
default = defaultServer;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue