Skip to content

Commit

Permalink
prepend plugins to rtp instead of append
Browse files Browse the repository at this point in the history
some plugins (e.g. vimtex) rely on being before
nvim builtins in rtp
(NotAShelf/nvf#566)
  • Loading branch information
horriblename committed Jan 23, 2025
1 parent 40cd0b0 commit d7b8d4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ lib.makeOverridable (
vim.env.PATH = vim.env.PATH .. ":${lib.makeBinPath ([ providers ] ++ extraBinPath)}"
package.path = "${luaLib.genLuaPathAbsStr luaEnv};$LUA_PATH" .. package.path
package.cpath = "${luaLib.genLuaCPathAbsStr luaEnv};$LUA_CPATH" .. package.cpath
vim.opt.packpath:append('$out')
vim.opt.runtimepath:append('$out')
vim.opt.packpath:prepend('$out')
vim.opt.runtimepath:prepend('$out')
${devRtp}
${providerLua}
${sourceLua}
Expand Down

0 comments on commit d7b8d4c

Please sign in to comment.