mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-06 19:05:26 +02:00
coq: package option
This commit is contained in:
parent
99d27eae6b
commit
01ab0ba352
1 changed files with 7 additions and 1 deletions
|
@ -11,6 +11,12 @@ in
|
|||
plugins.coq-nvim = {
|
||||
enable = mkEnableOption "Enable coq-nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.coq-nvim;
|
||||
description = "Plugin to use for coq-nvim";
|
||||
};
|
||||
|
||||
installArtifacts = mkEnableOption "Install coq-artifacts";
|
||||
|
||||
autoStart = mkOption {
|
||||
|
@ -35,7 +41,7 @@ in
|
|||
in
|
||||
mkIf cfg.enable {
|
||||
extraPlugins = [
|
||||
plugins.coq-nvim
|
||||
cfg.package
|
||||
] ++ optional cfg.installArtifacts plugins.coq-artifacts;
|
||||
plugins.lsp = {
|
||||
preConfig = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue