From 0ca6cbade32eca219d8287562c388434fa3d9751 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 18 Jan 2025 00:25:15 +0100 Subject: [PATCH] Add site dir to rtp for spell files --- nvim/nix/mknvim.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nvim/nix/mknvim.nix b/nvim/nix/mknvim.nix index 33bc55a..dd56e9d 100644 --- a/nvim/nix/mknvim.nix +++ b/nvim/nix/mknvim.nix @@ -49,7 +49,7 @@ map (p: lib.pipe p [ builder.byteCompile - # we removeDependencies after byteCompiling because byteCompile resets the derivation to it's inital state + # we removeDependencies after byteCompiling because byteCompile resets the derivation to it's initial state # (with dependencies and idk why) removeDependencies ]) @@ -75,6 +75,7 @@ "${conf}", "${pluginPack}/pack/packages/start/vimplugin-plugin-pack", vim.env.VIMRUNTIME, + vim.fn.stdpath('data') .. "/site", "${conf}/after", } vim.opt.packpath = { @@ -95,5 +96,8 @@ in { inherit withPython3 withNodeJs withPerl withRuby extraPython3Packages extraLuaPackages; }; - nvim-luarc = mkLuarc { nvim = package; inherit plugins; }; + nvim-luarc = mkLuarc { + nvim = package; + inherit plugins; + }; }