mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-16 09:01:03 +00:00
languages/nu: cleaning up after removing formatter code
This commit is contained in:
parent
f481cad36d
commit
41dd6b7e64
1 changed files with 3 additions and 4 deletions
|
|
@ -5,11 +5,11 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.options) mkEnableOption mkOption;
|
inherit (lib.options) mkEnableOption mkOption;
|
||||||
inherit (lib.types) str either package listOf enum;
|
inherit (lib.types) str either package listOf;
|
||||||
inherit (lib.modules) mkIf mkMerge;
|
inherit (lib.modules) mkIf mkMerge;
|
||||||
inherit (lib.nvim.lua) expToLua;
|
inherit (lib.nvim.lua) expToLua;
|
||||||
inherit (lib.nvim.types) mkGrammarOption;
|
inherit (lib.nvim.types) mkGrammarOption;
|
||||||
inherit (builtins) attrNames isList;
|
inherit (builtins) isList;
|
||||||
|
|
||||||
defaultServer = "nushell";
|
defaultServer = "nushell";
|
||||||
servers = {
|
servers = {
|
||||||
|
|
@ -51,10 +51,9 @@ in {
|
||||||
type = either package (listOf str);
|
type = either package (listOf str);
|
||||||
default = servers.${cfg.lsp.server}.package;
|
default = servers.${cfg.lsp.server}.package;
|
||||||
example = ''[(lib.getExe pkgs.nushell) "--lsp"]'';
|
example = ''[(lib.getExe pkgs.nushell) "--lsp"]'';
|
||||||
description = "Nu LSP server package, or the command to run as a list of strings";
|
description = "Nu LSP server package, or the command to run as a list of strings";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable (mkMerge [
|
config = mkIf cfg.enable (mkMerge [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue