mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 07:25:30 +00:00
feat: use mkGrammarOption
This commit is contained in:
parent
84ecf8f3fd
commit
544792e0b9
13 changed files with 31 additions and 47 deletions
|
|
@ -64,11 +64,7 @@ in {
|
|||
type = with types; enum (attrNames servers);
|
||||
default = defaultServer;
|
||||
};
|
||||
package = mkOption {
|
||||
description = "Python LSP server package";
|
||||
type = types.package;
|
||||
default = servers.${cfg.lsp.server}.package;
|
||||
};
|
||||
package = nvim.types.mkGrammarOption pkgs "python";
|
||||
};
|
||||
|
||||
format = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue