Skip to content

Commit

Permalink
feat(nvim): improve startup time by combining plugins
Browse files Browse the repository at this point in the history
This reduces startup time from ~155ms -> ~66ms
  • Loading branch information
jalil-salame committed Nov 7, 2024
1 parent 146847f commit bbb2091
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion nvim/dev-plugins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ in
extraPackages = [
pkgs.dash
pkgs.statix
pkgs.zsh
];
plugins.lint = {
enable = true;
Expand Down
4 changes: 0 additions & 4 deletions nvim/plugins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ in
name = "treesitter";
groupIndex = 2;
}
{
name = "zsh";
groupIndex = 1;
}
];
mapping =
mkRaw
Expand Down
1 change: 1 addition & 0 deletions nvim/standalone.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bbb2091

Please sign in to comment.