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
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:
parent
146847f5c5
commit
bbb209135e
3 changed files with 1 additions and 5 deletions
|
@ -114,7 +114,6 @@ in
|
||||||
extraPackages = [
|
extraPackages = [
|
||||||
pkgs.dash
|
pkgs.dash
|
||||||
pkgs.statix
|
pkgs.statix
|
||||||
pkgs.zsh
|
|
||||||
];
|
];
|
||||||
plugins.lint = {
|
plugins.lint = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -85,10 +85,6 @@ in
|
||||||
name = "treesitter";
|
name = "treesitter";
|
||||||
groupIndex = 2;
|
groupIndex = 2;
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "zsh";
|
|
||||||
groupIndex = 1;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
mapping =
|
mapping =
|
||||||
mkRaw
|
mkRaw
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
# Enable local configuration :h 'exrc'
|
# Enable local configuration :h 'exrc'
|
||||||
exrc = true; # safe since nvim 0.9
|
exrc = true; # safe since nvim 0.9
|
||||||
};
|
};
|
||||||
|
performance.combinePlugins.enable = true;
|
||||||
extraPlugins =
|
extraPlugins =
|
||||||
let
|
let
|
||||||
plugins = pkgs.vimPlugins;
|
plugins = pkgs.vimPlugins;
|
||||||
|
|
Loading…
Reference in a new issue