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

Need warning not to ignore * in home directory #1

Open
mikewadsten opened this issue Mar 4, 2014 · 0 comments
Open

Need warning not to ignore * in home directory #1

mikewadsten opened this issue Mar 4, 2014 · 0 comments
Assignees

Comments

@mikewadsten
Copy link
Owner

My vim setup has a good deal of autocomplete going on. Since switching to mikewadsten/vim-gitwildignore I've been having issues which apparently arise from neosnippet or neocomplcache:

Error detected while processing function vital#of:
line    4:
E605: Exception not caught: vital: version file not found: neosnippet
Error detected while processing function vital#of:
line    4:
E605: Exception not caught: vital: version file not found: neosnippet
Error detected while processing function neosnippet#init#_initialize..<SNR>92_initialize_script_variables:
line    4:
E121: Undefined variable: g:neosnippet#disable_runtime_snippets
Error detected while processing function neosnippet#init#_initialize..<SNR>92_initialize_script_variables:
line    4:
E171: Missing :endif
Error detected while processing function vital#of:
line    4:
E605: Exception not caught: vital: version file not found: neocomplcache
Error detected while processing function neocomplcache#init#lazy:
line    6:
E171: Missing :endif

I figured out that this is likely happening because the .gitignore in my home directory (from my dotfiles repo) reads:

!.vim
*

which means that /home/mike/* is added to wildignore. This has the unfortunate side effect of hiding absolutely everything in the home directory, which apparently borks some plugins that I use.


I should add a warning to not do that. (The easiest solution is to tell the user that, if they have their dotfiles repo as their home directory, to instead place them in, say, ~/dotfiles and symlink back to the home directory. That would avoid this situation.)

@mikewadsten mikewadsten added the bug label Mar 4, 2014
@mikewadsten mikewadsten self-assigned this Mar 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant