mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-24 04:15:18 +00:00
feat/add grug far (#1406)
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate documentation builds-1 (push) Has been cancelled
Treewide Checks / Validate documentation builds-2 (push) Has been cancelled
Treewide Checks / Validate documentation builds-3 (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate documentation builds-1 (push) Has been cancelled
Treewide Checks / Validate documentation builds-2 (push) Has been cancelled
Treewide Checks / Validate documentation builds-3 (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
* utility/grug-far-nvim: add new plugin * docs: add release note * chore: add to maximal config * style: nix formatter run
This commit is contained in:
parent
074fcde9b4
commit
7a2c7c2396
7 changed files with 56 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
./harpoon
|
||||
./icon-picker
|
||||
./images
|
||||
./grug-far-nvim
|
||||
./leetcode-nvim
|
||||
./mkdir
|
||||
./motion
|
||||
|
|
|
|||
21
modules/plugins/utility/grug-far-nvim/config.nix
Normal file
21
modules/plugins/utility/grug-far-nvim/config.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
|
||||
cfg = config.vim.utility.grug-far-nvim;
|
||||
in {
|
||||
config = {
|
||||
vim.lazy.plugins.grug-far-nvim = mkIf cfg.enable {
|
||||
package = "grug-far-nvim";
|
||||
cmd = [
|
||||
"GrugFar"
|
||||
"GrugFarWithin"
|
||||
];
|
||||
setupModule = "grug-far";
|
||||
setupOpts = cfg.setupOpts;
|
||||
};
|
||||
};
|
||||
}
|
||||
6
modules/plugins/utility/grug-far-nvim/default.nix
Normal file
6
modules/plugins/utility/grug-far-nvim/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./grug-far-nvim.nix
|
||||
./config.nix
|
||||
];
|
||||
}
|
||||
9
modules/plugins/utility/grug-far-nvim/grug-far-nvim.nix
Normal file
9
modules/plugins/utility/grug-far-nvim/grug-far-nvim.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
in {
|
||||
options.vim.utility.grug-far-nvim = {
|
||||
enable = mkEnableOption "grug-far";
|
||||
setupOpts = mkPluginSetupOption "grug-far" {};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue