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

g:webdevicons_conceal_nerdtree_brackets #37

Closed
bdryanovski opened this issue Apr 16, 2015 · 7 comments
Closed

g:webdevicons_conceal_nerdtree_brackets #37

bdryanovski opened this issue Apr 16, 2015 · 7 comments

Comments

@bdryanovski
Copy link

By setting g:webdevicons_conceal_nerdtree_brackets to 1 hide null text in all buffers/windows/tabs everywhere.

let g:webdevicons_conceal_nerdtree_brackets = 1
screen shot 2015-04-16 at 10 50 40

let g:webdevicons_conceal_nerdtree_brackets = 0
screen shot 2015-04-16 at 10 51 15

@ryanoasis
Copy link
Owner

Uh oh, thats not good. I will try to look into this today. Thanks and sorry about that 😛

@ryanoasis
Copy link
Owner

Hmm I am so far unable to replicate. Looks like function is also being affected. My guess is there is another syntax using conceal and there is a conflict or something.

selection_16_04_15_09 48 35_527x630_001

I tried debugging my setup with: http://vim.wikia.com/wiki/Identify_the_syntax_highlighting_group_used_at_the_cursor

❓ Can you tell me all of the plugins you use ?

❓ Was this in gvim or vim (looks like gvim?) ?

❓ Did you see this without ever opening nerdtree ?

@bdryanovski
Copy link
Author

Hi,
It's ok I found it by chance.

  • You could see my Vim setup here Github
  • Yep it's gVim on MacOS
  • No need to open NerdTree

I will try to debug it a bit later today or tomorrow

For the moment I think that the issue is comming from here:

exec 'autocmd filetype nerdtree syntax match hideBracketsInNerdTree "[\]|\[]*" contained conceal cchar=_ containedin=ALL'
set conceallevel=3
set concealcursor=nvic

@ryanoasis
Copy link
Owner

Ahha! I do see it now.

I had to do a plugin update, seems like something has changed on https://github.com/pangloss/vim-javascript

I was actually quite a bit far behind (I had yet to clean-up my contrib branch from vim plugins):
[2015-04-16 10:03:12] Plugin pangloss/vim-javascript [2015-04-16 10:03:12] $ cd '/home/ryan/.vim/bundle/vim-javascript' && git pull && git submodule update --init --recursive [2015-04-16 10:03:12] > Updating f8122fd..8a409f7

Now I am getting the same as you

@ryanoasis
Copy link
Owner

@bdryanovski Yep that is a recent code addition to hide brackets on nerdtree... and for me it was working prior to updating my version of pangloss/vim-javascript

@bdryanovski
Copy link
Author

I didn't even notice that pangloss/vim-javascript had e updated - nice to know.

I replaced Vundle with NeoBundle a week ago.

@ryanoasis
Copy link
Owner

Oh okay yep.

Well I think I actually have a fix, but I need to do some more testing:

      exec 'autocmd filetype nerdtree set conceallevel=3'
      exec 'autocmd filetype nerdtree set concealcursor=nvic'

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

2 participants