mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-03 05:44:31 +02:00
fix several broken options
This commit is contained in:
parent
5b0e3623a0
commit
11da3bfbc1
4 changed files with 10 additions and 12 deletions
|
@ -13,7 +13,7 @@ in
|
|||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.coq-nvim;
|
||||
default = pkgs.vimPlugins.coq-vim;
|
||||
description = "Plugin to use for coq-nvim";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs, config, lib, inputs, ... }@args:
|
||||
{ pkgs, config, lib, ... }@args:
|
||||
let
|
||||
helpers = import ./helpers.nix args;
|
||||
serverData = {
|
||||
code_actions = {
|
||||
code_actions = {
|
||||
gitsigns = { };
|
||||
};
|
||||
completion = { };
|
||||
|
@ -30,9 +30,6 @@ let
|
|||
black = {
|
||||
package = pkgs.python3Packages.black;
|
||||
};
|
||||
beautysh = {
|
||||
package = inputs.beautysh.packages.${pkgs.system}.beautysh-python38;
|
||||
};
|
||||
fourmolu = {
|
||||
package = pkgs.haskellPackages.fourmolu;
|
||||
};
|
||||
|
@ -57,9 +54,10 @@ in
|
|||
{
|
||||
imports = lib.lists.map (helpers.mkServer) dataFlattened;
|
||||
|
||||
config = let
|
||||
cfg = config.plugins.null-ls;
|
||||
in
|
||||
config =
|
||||
let
|
||||
cfg = config.plugins.null-ls;
|
||||
in
|
||||
lib.mkIf cfg.enable {
|
||||
plugins.gitsigns.enable = lib.mkIf (cfg.sources.code_actions.gitsigns.enable) true;
|
||||
};
|
||||
|
|
|
@ -125,7 +125,7 @@ let
|
|||
name = "elixirls";
|
||||
description = "Enable elixirls";
|
||||
package = pkgs.elixir_ls;
|
||||
cmd = cfg: ["${cfg.package}/bin/elixir-ls"];
|
||||
cmd = cfg: [ "${cfg.package}/bin/elixir-ls" ];
|
||||
}
|
||||
{
|
||||
name = "gdscript";
|
||||
|
@ -201,7 +201,7 @@ let
|
|||
{
|
||||
name = "sumneko-lua";
|
||||
description = "Enable sumneko_lua, for lua";
|
||||
packages = [ pkgs.sumneko-lua-language-server ];
|
||||
package = pkgs.sumneko-lua-language-server;
|
||||
serverName = "sumneko_lua";
|
||||
}
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vim.telescope-media-files-nvim;
|
||||
default = pkgs.vimPlugins.telescope-media-files-nvim;
|
||||
description = "Plugin to use for telescope extension media_files";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue