neovim: move plugins where expected
so we dont have to add some nix store path to rtp in the wrapper. Makes the setup more in line with what neovim users are used to. Also it means other neovim GUIs can see the plugins without wrapping. A first version of this PR conflicted with existing ~/.local/share/nvim/site folders but this should be fine as it makes only a subfolder readonly. I am able to mix rocks.nvim/vim.pack vim packages along with the home-manager one for instance.
This commit is contained in:
parent
2954aa2944
commit
8968092456
2 changed files with 20 additions and 15 deletions
8
modules/misc/news/2026/01/2026-01-19_02-17-02.nix
Normal file
8
modules/misc/news/2026/01/2026-01-19_02-17-02.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
time = "2026-01-19T01:17:02+00:00";
|
||||
condition = config.programs.neovim.enable;
|
||||
message = ''
|
||||
The neovim module now symlinks its plugins into xdg.dataFile."nvim/site/pack/hm" ( ~/.local/share/nvim) instead of modifying the runtimepath via wrapper arguments.
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue