Skip to content
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

runtimepath resolve() #769

Open
nulty opened this issue Dec 8, 2021 · 0 comments
Open

runtimepath resolve() #769

nulty opened this issue Dec 8, 2021 · 0 comments

Comments

@nulty
Copy link

nulty commented Dec 8, 2021

Does this bug happen when you install plugin without vim-polyglot?

install plugin without vim-polyglot

I don't understand this question. Install what plugin?

Describe the bug:
vim-polyglot modifies the vim runtimepath resolving symlinks. If a user has their vim directory symlnked to a git repo on the filesystem,
Ultisnips complicated python approach to globbing the filesystem for snippet files picks up both the target and source of the symlinks resulting in conflicting snippet files which are the exact same file essentially.

Is it necessary to resolve() each of the paths in the runtime path?
https://github.com/sheerun/vim-polyglot/blob/master/autoload/polyglot/init.vim#L3581-L3586

To Reproduce:
https://github.com/Artem-Schander/duplicate-ultisnips-issue-nvim-config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant