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 + ''; }; }