mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
tweaks and ftplugins
This commit is contained in:
parent
80efd65a10
commit
6d8480b8b5
11 changed files with 128 additions and 95 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue