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

extra snippets directory creation interferes with neobundle #337

Closed
sdx23 opened this issue Mar 4, 2016 · 3 comments
Closed

extra snippets directory creation interferes with neobundle #337

sdx23 opened this issue Mar 4, 2016 · 3 comments

Comments

@sdx23
Copy link

sdx23 commented Mar 4, 2016

Directories added to g:neosnippet#snippets_directory will be created automatically, if they don't exist. This interferes with neobundle, which will consider the corresponding snippets-"plugin" already installed, as the directory exists then.

What motivated this behaviour? It seems rather non-sensible, so I'd guess I missed something - otherwise this'd be a PR...

@Shougo
Copy link
Owner

Shougo commented Mar 5, 2016

Please describe the example.
I cannot understand why neosnippet interferes with neobundle.

@sdx23
Copy link
Author

sdx23 commented Mar 5, 2016

Lets say I want to include Honzas snippets (as suggested in the Readme), then I'd edit my .vimrc to add

NeoBundle 'honza/vim-snippets'

in the neobundle-section, and somewhere below

let g:neosnippet#snippets_directory='~/.vim/bundle/vim-snippets/snippets'

What happens now is: neosnippet gets loaded, searches for that directory, doesn't find it and creates it for some reason (hoped you'd tell me). After that, neobundle searches for directories of plugins, finds 'vim-snippets' is already there and doesn't install it.

@Shougo Shougo closed this as completed in bcb7620 Mar 5, 2016
@Shougo
Copy link
Owner

Shougo commented Mar 5, 2016

OK. I get it.

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

2 participants