nvim++ #134

Merged
jalil merged 2 commits from nvim++ into main 2024-11-06 23:09:05 +01:00
2 changed files with 10 additions and 2 deletions
Showing only changes of commit cab3dcbc32 - Show all commits

View file

@ -63,6 +63,14 @@ in
}
# Do not bundle treesitter grammars
(lib.mkIf (!cfg.dev.bundleGrammars) { plugins.treesitter.grammarPackages = [ ]; })
# Remove tools for building gramars when bundling them
(lib.mkIf cfg.dev.bundleGrammars {
plugins.treesitter = {
gccPackage = null;
nodejsPackage = null;
treesitterPackage = null;
};
})
# Configure Formatters
{
extraPackages = [

View file

@ -16,8 +16,8 @@ in
type = types.submodule {
options = {
enable = mkDisableOption "development configuration";
bundleLSPs = mkDisableOption "bundling LSPs with Neovim";
bundleGrammars = mkDisableOption "bundling treesitter grammars with Neovim";
bundleLSPs = mkDisableOption "bundling LSPs with Neovim (decreases size when disabled)";
bundleGrammars = mkDisableOption "bundling treesitter grammars with Neovim (barely decreases size when disabled)";
};
};
default = { };