-
Notifications
You must be signed in to change notification settings - Fork 42
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
colors not showing and brackets around icon #23
Comments
I get the same thing in NeoVim, but it works as advertised in Vim and GVim. |
I get the same error that @isabelgk . Somebody have any clue about the issue? |
I figured it out! I just inserted |
Yeah, I have the same problem on neovim on Iterm |
I used to have a similar problem where the syntax highlight works for the file/folder names, but not for the icons (pink icons for both directories and any type of files). After digging into the problem for hours, I finally figured out how to solve the problem (sort of). |
Supplementing @ryanbyon workaround, you can add this command to your augroup nerdtree
autocmd!
autocmd FileType nerdtree syntax clear NERDTreeFlags
" other nerdtree related aucomds
augroup END |
@ryanbyon's approach gave me the same result with squarebrackets. |
@ryanbyon's method also gave me the square brackets (Im also using nvim) but they are not misaligned see below: |
@allbombson, @ryanbyon, @timoleistner update nerdtree, vim-devicons and vim-nerdtree-syntax-highlight to the latest version, undo any syntax clear NERDTreeFlags that you have added anywhere and try again, and check if it works now. |
Adding this removed the ugly bracket for me, |
@alexsmartens have you tried what I mentioned before? Updating vim-devicon, nerdtree and vim-nerdtree-syntax-highlight to the latest versions? You can do that by finding the repo folders on your disk and running "git pull". If you are using Neovim on ubuntu, that would be "~/.config/nvim/bundle/<plugin_name>". Also, after doing that you should remove the |
oh my, thanks @tiagofumo. That solved the problem! I thought I'm on the latest versions coz I just installed the plugins. There were a couple of updates to |
An interesting thing, the vim that I'm using is a "brew" vim. I installed it as an attempt to solve this problem. So, I guess something is still off when using the default vim with |
I installed the plugin using Vundle by adding
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight'
in my .vimrc. It successfully installed. I also made sure I had the the devicons font installed.When I open NERDTree, I see:
I tried adding in specified colors to see if anything would change, but no luck.
Any idea what I can try?
The text was updated successfully, but these errors were encountered: