mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-13 22:29:09 +02:00
lspsaga: package option
This commit is contained in:
parent
73dba1e6c2
commit
406e8eb715
1 changed files with 7 additions and 1 deletions
|
@ -9,6 +9,12 @@ in
|
|||
plugins.lspsaga = {
|
||||
enable = mkEnableOption "Enable lspsava.nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.lspsaga-nvim;
|
||||
description = "Plugin to use for lspsaga.nvim";
|
||||
};
|
||||
|
||||
signs = {
|
||||
use = mkOption {
|
||||
default = true;
|
||||
|
@ -195,7 +201,7 @@ in
|
|||
in notEmpty keys;
|
||||
};
|
||||
in mkIf cfg.enable {
|
||||
extraPlugins = [ pkgs.vimPlugins.lspsaga-nvim ];
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
extraConfigLua = ''
|
||||
local saga = require 'lspsaga'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue