Compare commits

...

3 commits

Author SHA1 Message Date
385c49d93d
utility/leetcode-nvim: remove redundant startPlugins entry
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate documentation builds-1 (push) Waiting to run
Treewide Checks / Validate documentation builds-2 (push) Waiting to run
Treewide Checks / Validate documentation builds-3 (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I36176a0c86fba8a6056b1041086285626a6a6964
2026-01-23 22:14:34 +03:00
897216c0f7
assistant/avante: remove redundant startPlugins entries
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: If772ac13d5706e7df28d0e40dd92dfc76a6a6964
2026-01-23 22:14:33 +03:00
93f12f1766
flake: bump nixpkgs
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I846d3941e2f3cf191271338fea5d87096a6a6964
2026-01-23 22:14:32 +03:00
3 changed files with 10 additions and 18 deletions

6
flake.lock generated
View file

@ -74,11 +74,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1768783163, "lastModified": 1768875095,
"narHash": "sha256-tLj4KcRDLakrlpvboTJDKsrp6z2XLwyQ4Zmo+w8KsY4=", "narHash": "sha256-dYP3DjiL7oIiiq3H65tGIXXIT1Waiadmv93JS0sS+8A=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bde09022887110deb780067364a0818e89258968", "rev": "ed142ab1b3a092c4d149245d0c4126a5d7ea00b0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -4,25 +4,16 @@
... ...
}: let }: let
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
inherit (lib.lists) optionals;
cfg = config.vim.assistant.avante-nvim; cfg = config.vim.assistant.avante-nvim;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
vim = { vim = {
startPlugins = startPlugins = [
[
"nvim-treesitter"
"plenary-nvim" "plenary-nvim"
"dressing-nvim" "dressing-nvim"
"nui-nvim" "nui-nvim"
] ];
++ (optionals config.vim.mini.pick.enable ["mini-pick"])
++ (optionals config.vim.telescope.enable ["telescope"])
++ (optionals config.vim.autocomplete.nvim-cmp.enable ["nvim-cmp"])
++ (optionals config.vim.fzf-lua.enable ["fzf-lua"])
++ (optionals config.vim.visuals.nvim-web-devicons.enable ["nvim-web-devicons"])
++ (optionals config.vim.utility.images.img-clip.enable ["img-clip"]);
lazy.plugins = { lazy.plugins = {
avante-nvim = { avante-nvim = {

View file

@ -10,7 +10,6 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
vim = { vim = {
startPlugins = [ startPlugins = [
"leetcode-nvim"
"plenary-nvim" "plenary-nvim"
"fzf-lua" "fzf-lua"
"nui-nvim" "nui-nvim"
@ -21,6 +20,8 @@ in {
setupModule = "leetcode"; setupModule = "leetcode";
inherit (cfg) setupOpts; inherit (cfg) setupOpts;
}; };
telescope.enable = true;
}; };
}; };
} }