tweaks and ftplugins

This commit is contained in:
iofq 2024-08-22 03:30:25 -05:00
parent 80efd65a10
commit 6d8480b8b5
11 changed files with 128 additions and 95 deletions

View file

@ -92,11 +92,14 @@ with lib;
buildPhase = ''
mkdir -p $out/lua
mkdir -p $out/ftplugin
'';
installPhase = ''
cp -r lua $out/lua
cp -r lua $out/
rm -r lua
cp -r ftplugin $out/
rm -r ftplugin
'';
};
@ -104,7 +107,7 @@ with lib;
# It wraps the user init.lua, prepends the lua lib directory to the RTP
# and prepends the nvim and after directory to the RTP
initLua = ''
vim.opt.rtp:prepend('${nvimRtp}/lua')
vim.opt.rtp:prepend('${nvimRtp}')
LAZY_OPTS = {
performance = {
reset_packpath = false,