mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 04:09:48 +01: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