1
0
Fork 0

nvim: re-enable activation scripts

This commit is contained in:
Daniel Kempkens 2025-01-05 22:56:54 +01:00
parent 677b6dd788
commit 4f670151d5
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -397,14 +397,14 @@ in
};
};
# activation.neovimCache = lib.hm.dag.entryAfter [ "linkGeneration" ] /* bash */ ''
# $VERBOSE_ECHO "Resetting loader"
# $DRY_RUN_CMD ${lib.getExe config.programs.neovim.finalPackage} -l <(echo "vim.loader.reset()")
# '';
#
# activation.neovimTreeSitter = lib.hm.dag.entryAfter [ "writeBoundary" ] /* bash */ ''
# $VERBOSE_ECHO "Updating tree-sitter parsers"
# $DRY_RUN_CMD ${lib.getExe config.programs.neovim.finalPackage} -c 'TSUpdateSync | q' --headless
# '';
activation.neovimCache = lib.hm.dag.entryAfter [ "linkGeneration" ] /* bash */ ''
$VERBOSE_ECHO "Resetting loader"
$DRY_RUN_CMD ${lib.getExe config.programs.neovim.finalPackage} -l <(echo "vim.loader.reset()")
'';
activation.neovimTreeSitter = lib.hm.dag.entryAfter [ "writeBoundary" ] /* bash */ ''
$VERBOSE_ECHO "Updating tree-sitter parsers"
$DRY_RUN_CMD ${lib.getExe config.programs.neovim.finalPackage} -c 'TSUpdateSync | q' --headless
'';
};
}