mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-07 19:35:01 +02:00
mark-radar: package option
This commit is contained in:
parent
299795d2d2
commit
3d0d5d12d3
1 changed files with 7 additions and 1 deletions
|
@ -10,6 +10,12 @@ in
|
||||||
options.plugins.mark-radar = {
|
options.plugins.mark-radar = {
|
||||||
enable = mkEnableOption "Enable mark-radar";
|
enable = mkEnableOption "Enable mark-radar";
|
||||||
|
|
||||||
|
package = mkOption {
|
||||||
|
type = types.package;
|
||||||
|
default = defs.mark-radar;
|
||||||
|
description = "Plugin to use for mark-radar";
|
||||||
|
};
|
||||||
|
|
||||||
highlight_background = mkOption {
|
highlight_background = mkOption {
|
||||||
type = with types; nullOr bool;
|
type = with types; nullOr bool;
|
||||||
default = null;
|
default = null;
|
||||||
|
@ -40,7 +46,7 @@ in
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
mkIf cfg.enable {
|
mkIf cfg.enable {
|
||||||
extraPlugins = [ defs.mark-radar ];
|
extraPlugins = [ cfg.package ];
|
||||||
|
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
require("mark-radar").setup(${opts})
|
require("mark-radar").setup(${opts})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue