mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-17 17:31:18 +00:00
treewide: move missing modules from 'with lib' to 'inherit (lib) ...'
This commit is contained in:
parent
4700a988b3
commit
7518c31ca8
43 changed files with 146 additions and 146 deletions
|
|
@ -3,9 +3,9 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with builtins; let
|
||||
}: let
|
||||
inherit (lib) isList nvim optionalString mkEnableOption mkOption types mkIf mkMerge;
|
||||
|
||||
cfg = config.vim.languages.clang;
|
||||
|
||||
defaultServer = "ccls";
|
||||
|
|
@ -93,7 +93,7 @@ in {
|
|||
|
||||
server = mkOption {
|
||||
description = "The clang LSP server to use";
|
||||
type = with types; enum (attrNames servers);
|
||||
type = with types; enum (builtins.attrNames servers);
|
||||
default = defaultServer;
|
||||
};
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ in {
|
|||
};
|
||||
debugger = mkOption {
|
||||
description = "clang debugger to use";
|
||||
type = with types; enum (attrNames debuggers);
|
||||
type = with types; enum (builtins.attrNames debuggers);
|
||||
default = defaultDebugger;
|
||||
};
|
||||
package = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue