Neovim: Difference between revisions
Marked this version for translation Tags: Mobile edit Mobile web edit |
How to manage plugins with both LazyVim and Nix in parallel |
||
| Line 246: | Line 246: | ||
<!--T:47--> | <!--T:47--> | ||
* [https://nvchad.com/ NVChad]<ref>Siduck, "NvChad", NvChad Official Website, © 2025, Accessed June 2025. https://nvchad.com/</ref> | * [https://nvchad.com/ NVChad]<ref>Siduck, "NvChad", NvChad Official Website, © 2025, Accessed June 2025. https://nvchad.com/</ref> | ||
LazyVim, by default, will prevent loading plugins that are not managed by LazyVim. This includes all plugins installed via Nix. If you want to install plugins with both Nix and LazyVim, add the following to your LazyVim setup: | |||
</translate> | |||
require("lazy").setup(lazyPackages, { | |||
performance = { | |||
reset_packpath = false, -- so that plugins outside of lazy can be loaded | |||
}, | |||
}) | |||
vim.cmd([[ packloadall]] ) -- load plugins outside of lazy | |||
<translate> | |||
[https://github.com/folke/lazy.nvim/issues/402#issuecomment-2084997594 Source] | |||
==== FHS wrapper ==== <!--T:67--> | ==== FHS wrapper ==== <!--T:67--> | ||