feat(nvim): improve startup time by combining plugins
All checks were successful
/ check (push) Successful in 44s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 1s

This reduces startup time from ~155ms -> ~66ms
This commit is contained in:
Jalil David Salamé Messina 2024-11-07 18:47:04 +01:00
parent 146847f5c5
commit bbb209135e
Signed by: jalil
GPG key ID: F016B9E770737A0B
3 changed files with 1 additions and 5 deletions

View file

@ -114,7 +114,6 @@ in
extraPackages = [
pkgs.dash
pkgs.statix
pkgs.zsh
];
plugins.lint = {
enable = true;

View file

@ -85,10 +85,6 @@ in
name = "treesitter";
groupIndex = 2;
}
{
name = "zsh";
groupIndex = 1;
}
];
mapping =
mkRaw

View file

@ -49,6 +49,7 @@
# Enable local configuration :h 'exrc'
exrc = true; # safe since nvim 0.9
};
performance.combinePlugins.enable = true;
extraPlugins =
let
plugins = pkgs.vimPlugins;