refactor: group plugins and clipboard configuration

This commit is contained in:
2026-02-08 10:08:52 +01:00
parent ae1e52dae8
commit c36c12b234
2 changed files with 30 additions and 26 deletions

View File

@@ -1,8 +1,9 @@
{ ... }: { ... }:
{ {
plugins.lspkind.enable = true; plugins = {
plugins.cmp-nvim-lsp-signature-help.enable = true; lspkind.enable = true;
plugins.cmp = { cmp-nvim-lsp-signature-help.enable = true;
cmp = {
enable = true; enable = true;
autoEnableSources = true; autoEnableSources = true;
settings = { settings = {
@@ -24,4 +25,5 @@
}; };
}; };
}; };
};
} }

View File

@@ -12,9 +12,11 @@
extraPackages = with pkgs; [ extraPackages = with pkgs; [
wl-clipboard wl-clipboard
]; ];
clipboard.register = "unnamedplus"; clipboard = {
clipboard.providers.wl-copy.enable = true; register = "unnamedplus";
clipboard.providers.wl-copy.package = pkgs.wl-clipboard; providers.wl-copy.enable = true;
clipboard.providers.xclip.enable = true; providers.wl-copy.package = pkgs.wl-clipboard;
clipboard.providers.xclip.package = pkgs.xclip; providers.xclip.enable = true;
providers.xclip.package = pkgs.xclip;
};
} }