1
0
Fork 0

nvim: disable activation script

This commit is contained in:
Daniel Kempkens 2025-01-05 22:37:41 +01:00
parent c255c0c5f9
commit 925b583ed4
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
# '';
};
}