Files
nixovim/config/sets.nix
T
2025-12-24 12:49:19 -06:00

45 lines
1.1 KiB
Nix

{
plugins = {
# FIX 1: Harpoon2 Migration
# Harpoon2 requires settings to be in a nested 'settings' block.
# Top-level booleans like 'save_on_toggle' now cause Lua type errors.
harpoon = {
enable = true;
settings = {
save_on_toggle = true;
save_on_change = true;
enter_on_sendcmd = false;
mark_branch = true;
sync_on_ui_close = true;
};
};
# FIX 2: Treesitter Read-Only & Folding Syntax
treesitter = {
enable = true;
# Syntax changed from 'folding = false' to 'folding.enable = false'
folding.enable = false;
settings = {
indent.enable = true;
# CRITICAL: This must be false for Nix/NixOS to prevent
# attempts to write to the read-only Nix store.
ensure_installed = [
"git_config"
"git_rebase"
"gitattributes"
"gitcommit"
"gitignore"
"bash"
"python"
"nix"
"lua"
"rust"
"go"
"javascript"
"typescript"
];
};
};
};
}