heetch / neovim-config

16 stars 1 forks source link

Quotes are not visible while editing JSON files #24

Open arkan opened 7 years ago

arkan commented 7 years ago

This PR https://github.com/heetch/neovim-config/pull/20 tent to solve this I guess, but this doesn't work on my side.

Why did you @tomahh used this instead of set conceallevel=0?

But even with set conceallevel=0 this doen't work because https://github.com/heetch/neovim-config/blob/master/autocomplete.vim#L37 override the whole setting.

tomahh commented 7 years ago

I went for concealcursor to keep the nice presentation while navigating a json file.

I just tried to comment navigation.vim:103 and it doesn't change anything on my side indeed, due to the fact we override it in autocomplete.vim. I had also added the setting in my private.vim, which is why I didn't see the problem.

jhchabran commented 7 years ago

Thing is, the autocomplete.vim line ensure that we're not seeing markers when using code snippets.

All in all, I'm less and less fan of the JSON weird concealing, makes thing less stupid than they should be.

Would you agree to just discard the plugin that handle the json concealment ?

arkan commented 7 years ago

Yes!