From 4f670151d556757f4bf50cc5cbb42d24a0406f08 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 5 Jan 2025 22:56:54 +0100 Subject: [PATCH] nvim: re-enable activation scripts --- home/programs/nvim/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/home/programs/nvim/default.nix b/home/programs/nvim/default.nix index a281b72..97f791d 100644 --- a/home/programs/nvim/default.nix +++ b/home/programs/nvim/default.nix @@ -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 + ''; }; }