-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] extraFiles not added to runtimepath after migrating to standalone #2799
Comments
is this behavior intended? |
No, However IIRC (neo)vim is kinda weird about how you can source files from the rtp? IIRC they have to be under certain plugin directory names? If you run For me I have
|
I'm also finding that my custom ftplugins are not sourced by nvim. I build my nixvim with :set rtp?
runtimepath=~/.local/share/nvim/site,/nix/store/mcx2827frir18r3h2bqcxhzz68csgqmd-vim-pack-dir,/nix/store/mcx2827frir18r3h2bqcxhzz68csgqmd-vim-pack-dir/pack/*/start/*,/etc/xdg/nvim,~/.local/share/flatpak/exports/etc/xdg/nvim,/var/lib/flatpak/exports/etc/xdg/nvim,~/.nix-profile/etc/xdg/nvim,/nix/profile/etc/xdg/nvim,~/.local/state/nix/profile/etc/xdg/nvim,/etc/profiles/per-user/gy/etc/xdg/nvim,/nix/var/nix/profiles/default/etc/xdg/nvim,/run/current-system/sw/etc/xdg/nvim,/nix/store/mvqdwl2fi3rf149wvhzs7zs6fxmvpdii-ghostty-1.1.2/share/nvim/site,/nix/store/czh9lnhdlj813j87fgqb8292v175n343-gsettings-desktop-schemas-47.1/share/gsettings-schemas/gsettings-desktop-schemas-47.1/nvim/site,/nix/store/jhn7xd5w2gxc65gynyagdfj3q2p7105a-gtk4-4.16.12/share/gsettings-schemas/gtk4-4.16.12/nvim/site,~/.nix-profile/share/nvim/site,~/.local/share/flatpak/exports/share/nvim/site,/var/lib/flatpak/exports/share/nvim/site,/nix/profile/share/nvim/site,~/.local/state/nix/profile/share/nvim/site,/etc/profiles/per-user/gy/share/nvim/site,/nix/var/nix/profiles/default/share/nvim/site,/run/current-system/sw/share/nvim/site,/nix/store/6l14qbfr0hr69xlk2fd4bg7jh29ar4q7-neovim-unwrapped-0.10.4/share/nvim/runtime,/nix/store/6l14qbfr0hr69xlk2fd4bg7jh29ar4q7-neovim-unwrapped-0.10.4/share/nvim/runtime/pack/dist/opt/matchit,/nix/store/6l14qbfr0hr69xlk2fd4bg7jh29ar4q7-neovim-unwrapped-0.10.4/lib/nvim,~/.config/nvim/pack/*/start/*,/nix/store/mcx2827frir18r3h2bqcxhzz68csgqmd-vim-pack-dir/pack/*/start/*/after,/run/current-system/sw/share/nvim/site/after,/nix/var/nix/profiles/default/share/nvim/site/after,/etc/profiles/per-user/gy/share/nvim/site/after,~/.local/state/nix/profile/share/nvim/site/after,/nix/profile/share/nvim/site/after,/var/lib/flatpak/exports/share/nvim/site/after,~/.local/share/flatpak/exports/share/nvim/site/after,~/.nix-profile/share/nvim/site/after,/nix/store/jhn7xd5w2gxc65gynyagdfj3q2p7105a-gtk4-4.16.12/share/gsettings-schemas/gtk4-4.16.12/nvim/site/after,/nix/store/czh9lnhdlj813j87fgqb8292v175n343-gsettings-desktop-schemas-47.1/share/gsettings-schemas/gsettings-desktop-schemas-47.1/nvim/site/after,/nix/store/mvqdwl2fi3rf149wvhzs7zs6fxmvpdii-ghostty-1.1.2/share/nvim/site/after,~/.local/share/nvim/site/after,/run/current-system/sw/etc/xdg/nvim/after,/nix/var/nix/profiles/default/etc/xdg/nvim/after,/etc/profiles/per-user/gy/etc/xdg/nvim/after,~/.local/state/nix/profile/etc/xdg/nvim/after,/nix/profile/etc/xdg/nvim/after,~/.nix-profile/etc/xdg/nvim/after,/var/lib/flatpak/exports/etc/xdg/nvim/after,~/.local/share/flatpak/exports/etc/xdg/nvim/after,/etc/xdg/nvim/after |
nixvim
unstable
Description
After migrating my home-manager based nixvim configuration to a seperate flake, my filetype configuration is broken. As far as I can tell, the filetype setting files are not added to the runtimepath, despite the option description saying so.
For the example down below, I can see the created file at
/nix/store/<hash>-vim-pack-dir/pack/myNeovimPackages/start/nvim-config/after/ftplugin/haskell.lua
I am using and building nixvim on Darwin.
Minimal, Reproducible Example (MRE)
Inside a standalone nixvim configuration:
The text was updated successfully, but these errors were encountered: