mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
parent
d8a86e9b3f
commit
c73bef16ab
61 changed files with 112 additions and 263 deletions
|
@ -2,18 +2,14 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.plugins.lsp-lines;
|
||||
helpers = import ../helpers.nix { lib = lib; };
|
||||
helpers = import ../helpers.nix { inherit lib; };
|
||||
in
|
||||
{
|
||||
options = {
|
||||
plugins.lsp-lines = {
|
||||
enable = mkEnableOption "lsp_lines.nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.lsp_lines-nvim;
|
||||
description = "Plugin to use for lsp_lines.nvim";
|
||||
};
|
||||
package = helpers.mkPackageOption "lsp_lines.nvim" pkgs.vimPlugins.lsp_lines-nvim;
|
||||
|
||||
currentLine = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -2,18 +2,14 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.plugins.lspsaga;
|
||||
helpers = import ../helpers.nix { lib = lib; };
|
||||
helpers = import ../helpers.nix { inherit lib; };
|
||||
in
|
||||
{
|
||||
options = {
|
||||
plugins.lspsaga = {
|
||||
enable = mkEnableOption "lspsaga.nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.lspsaga-nvim;
|
||||
description = "Plugin to use for lspsaga.nvim";
|
||||
};
|
||||
package = helpers.mkPackageOption "lspsaga" pkgs.vimPlugins.lspsaga-nvim;
|
||||
|
||||
signs = {
|
||||
use = mkOption {
|
||||
|
|
|
@ -10,11 +10,7 @@ with lib; {
|
|||
options.plugins.nvim-lightbulb = {
|
||||
enable = mkEnableOption "nvim-lightbulb, showing available code actions";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.nvim-lightbulb;
|
||||
description = "Plugin to use for nvim-lightbulb";
|
||||
};
|
||||
package = helpers.mkPackageOption "nvim-lightbulb" pkgs.vimPlugins.nvim-lightbulb;
|
||||
|
||||
ignore = helpers.defaultNullOpts.mkNullable (types.listOf types.str) "[]" ''
|
||||
LSP client names to ignore
|
||||
|
|
|
@ -9,11 +9,7 @@ with lib;
|
|||
options.plugins.trouble = {
|
||||
enable = mkEnableOption "trouble.nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.trouble-nvim;
|
||||
description = "Plugin to use for trouble-nvim";
|
||||
};
|
||||
package = helpers.mkPackageOption "trouble-nvim" pkgs.vimPlugins.trouble-nvim;
|
||||
|
||||
position = helpers.mkNullOrOption (types.enum [ "top" "left" "right" "bottom" ]) "Position of the list";
|
||||
height = helpers.mkNullOrOption types.int "Height of the trouble list when position is top or bottom";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue