-
Notifications
You must be signed in to change notification settings - Fork 328
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
add option to add custom directories to runtime path #64
Comments
You can disable rtp reset with |
I want to reset the runtime path though |
and I think it wouldn't be that hard to add this at the place where you modify the rtp lazy.nvim/lua/lazy/core/config.lua Line 136 in a939243
should be as simple as if M.options.performance.rtp.custom_directories then
for directory in M.options.performance.rtp.custom_directories do
vim.opt.rtp:append(directory)
end
end if you'd make the default value |
Added.... |
thank you very much |
|
I don't understand the relation to this issue |
Your issue is due to default |
resetting does what the name implies. It removes any rtp directory except for your config, config/after, vim runtime. If someone does not want that behavior, they can simply disable the reset. The spell directory normally resides in the user config directory, so it is already part of the rtp. That issue's work-around doesn't make sense. Just create the directory in your config, no need to have it under share and then create a symlink |
Also, the issue you're pointing to is from 5 days ago. Lazy wasn't even publically available at that time, so totally unrelated. |
... My experience. I'm just migrating to "Lazy", never had an issue with spell files on packer. I tried removing that path, so that I get a new download under Lazy, and other things: nothing works. Nothing, except |
then perhaps just do that? |
I just added |
Good, that should avoid it becoming a recurrent report + throwing the baby out with the bathwater. |
but how do you download the spell file? I never get the option. It just complains about the spell file not being found. There's also no spellfile plugin, just the autoload |
Removed it again from rtp, since it can download to your config just fine. fyi: I didnt get the download option because I disabled netrw |
Right, this is done by netrw, as pointed by discussion in linked issues. One can download to config, but that's a convention I'm coming to learn only now, never heard of it. By default, by removing EDIT: IMHO, it's not quite right either. In my |
then just add the directory to the rtp with the option that was added on request of this issue |
Just ran into the spell issue as well. In case anyone else stumbles upon this, here's what I did:
That seems to have solved it for me. |
I ran into a similar problem trying to use the fzf.vim plugin included in Fedora's fzf package with lazy. On Fedora 38:
Setting Alternative solution was to symlink: |
Is your feature request related to a problem? Please describe.
I use cheovim and it doesn't work because only my config folder but not
~/.config/nvim
is added to runtime path.Describe the solution you'd like
allow adding some directories manually to runtime path
Describe alternatives you've considered
don't use cheovim
(would be really sad)
Additional context
https://github.com/NTBBloodbath/cheovim
The text was updated successfully, but these errors were encountered: