1
0
Fork 0

nvim: update ts parsers

This commit is contained in:
Daniel Kempkens 2024-02-16 00:14:41 +01:00
parent 3d4a76f145
commit bf3bde8e4a
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -403,5 +403,10 @@ in
$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
'';
};
}