-
Notifications
You must be signed in to change notification settings - Fork 267
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
nerdtree: no icons on newly created files #153
Comments
Thanks ill try to replicate today |
So far I am unable to replicate so far though I have not tried the exact setup you have. Do you have a link to your |
I would have a hard time sharing my vimrc, since it's split into multiple files.
and the issue did not go away. Autoload directory only contains vim-plug. Also tested with pathogen. |
@dflupu Ah okay thanks, I'll try again |
can you tell me what you get for the output of |
E121: Undefined variable: g:NERDTreeUpdateOnCursorHold |
Hey thanks for testing that. Looks like you found a bug (oversight on my part). See I use nerdtree-git-plugin and I stole/borrowed a fix idea from there for refreshing the nerdtree flags but looks like I forgot to even set that variable! See my commit on the initial attempt at a fix: 710f3b2 But I need to do something (as shown here: https://github.com/Xuyuanp/nerdtree-git-plugin/blob/e71e62fb5ca3e49035a7f2a85c81e5b85b1cf138/nerdtree_plugin/git_status.vim#L37-L39) for setting that variable 😊 So basically I could not replicate your issue until I removed the nerdtree-git-plugin plugin and now I get the same error as you. |
The fix is up on 0.8.3 branch if you would like to test it out. I won't be able to do any changes until Tuesday |
I've tested it a bit. It does work, but it takes some time until the icon appears after a file is created. Seconds, even. Is it based on some kind of timeout ? |
@dflupu Yeah basically it is as far as I understand. Try to see what you have set for For me I have it set to 250 for |
That pretty much solved it. Thanks ! |
Great! No problem 😄 I will try to add this info to the readme for the next release |
Same as issue #33 which is closed.
I'm using the latest versions of nerdtree and vim-devicons.
Requirements
If you are not sure whether or not what you are reporting is actually an issue or you have a general question please message in the Gitter Chat Room
These items you acknowledge and mark off with 'x' please
These items you must provide answers to. Make sure to add all the information needed to understand the bug so that someone can help. If the info is missing we'll add the 'Needs more information' label and may choose to close the issue until there is enough information.
vim --version
NVIM v0.1.4-5-g5330aa1
and
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 8 2016 14:36:27)
Included patches: 1-1718
What version of vim-devicons are you using?
:echo webdevicons#version()
0.8.2
Are you using vim from the terminal or a GUI vim? terminal
Are you using Mac, Linux or Windows? linux
Optional
The text was updated successfully, but these errors were encountered: