mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-08-27 13:16:07 +02:00
feat: Apply NeoVim enhancements to stable-2.3
- Enhanced DirtytalkUpdate automation with smart detection to skip if wordlist exists - Added Nix LSP auto-eval-inputs support for better flake evaluation - Improved home.activation script with better error handling and DAG ordering - Programming wordlist is now automatically downloaded only when needed - Updated changelog to document these improvements
This commit is contained in:
@@ -2,7 +2,13 @@
|
||||
|
||||
## ZaneyOS v2.3.2 -- Post GA Release Notes
|
||||
|
||||
** Updated: August 2nd, 2025 **
|
||||
** Updated: August 11th, 2025 **
|
||||
|
||||
- NeoVIM Enhancements:
|
||||
- Enhanced DirtytalkUpdate automation with smart detection to skip if wordlist exists
|
||||
- Added Nix LSP auto-eval-inputs support for better flake evaluation
|
||||
- Improved home.activation script with better error handling and DAG ordering
|
||||
- Programming wordlist is now automatically downloaded only when needed
|
||||
|
||||
- Added `rebuild-boot` command to `zcli`
|
||||
- New command rebuilds system and sets as boot default
|
||||
|
@@ -190,6 +190,10 @@
|
||||
enableExtraDiagnostics = true;
|
||||
nix = {
|
||||
enable = true;
|
||||
lsp = {
|
||||
package = inputs.nil.packages.${config.nixpkgs.hostPlatform.system}.nil;
|
||||
server.settings.nil.auto-eval-inputs = true;
|
||||
};
|
||||
};
|
||||
clang = {
|
||||
enable = true;
|
||||
@@ -431,8 +435,19 @@
|
||||
};
|
||||
|
||||
home.activation = {
|
||||
dirtytalkUpdate = ''
|
||||
${config.programs.nvf.finalPackage}/bin/nvim -c "DirtytalkUpdate" -c "qa!"
|
||||
dirtytalkUpdate = config.lib.dag.entryAfter ["writeBoundary"] ''
|
||||
# Check if programmingWordlist file already exists to avoid unnecessary downloads
|
||||
WORDLIST_FILE="$HOME/.config/nvim/spell/programming.utf-8.add"
|
||||
if [ ! -f "$WORDLIST_FILE" ]; then
|
||||
echo "Programming wordlist not found, downloading via DirtytalkUpdate..."
|
||||
if ${config.programs.nvf.finalPackage}/bin/nvim -c "DirtytalkUpdate" -c "qa!" 2>/dev/null; then
|
||||
echo "DirtytalkUpdate completed successfully"
|
||||
else
|
||||
echo "DirtytalkUpdate failed, but continuing..." >&2
|
||||
fi
|
||||
else
|
||||
echo "Programming wordlist already exists at $WORDLIST_FILE, skipping download"
|
||||
fi
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user