vim-json icon indicating copy to clipboard operation
vim-json copied to clipboard

Disable conceal by default

Open sheerun opened this issue 9 years ago • 9 comments

It's the only reason why I don't use this plugin in vim-polyglot.

Concealing by default is too invasive, as vim-polyglot aims to be syntax-only plugin.

Don't you think concealing disabled by default can be a better default?

sheerun avatar Jul 18 '15 21:07 sheerun

+1 I opened a json file today I took me some good time to figure where my quotes gone. This is like an April Fools' Day prank/feature when enabled by default.

(using json.vim from the default runtime)

kazuoteramoto avatar Aug 20 '15 00:08 kazuoteramoto

+1

ptzz avatar Oct 25 '15 19:10 ptzz

Glad to know I wasn't the only one to fall for this! +1.

melonmanchan avatar Dec 10 '15 08:12 melonmanchan

Same. And I can't disable it (seems I have plugin interference)… I need to do a "set conceallevel=0" on every json I open. It drives me crazy.

+1000.

Einenlum avatar Jan 20 '16 12:01 Einenlum

The same here. I think it shouldn't conceal quotes, it should be optional.

osenvosem avatar Sep 12 '16 06:09 osenvosem

There's a setting for this let g:vim_json_syntax_conceal = 0, but yeah it should be off by default.

vikfroberg avatar Oct 16 '16 18:10 vikfroberg

let g:vim_json_syntax_conceal = 0

This does not work for me. Outdated advice?

mkaito avatar Mar 17 '18 11:03 mkaito

Its still in the code and works for me. Where you sure you are not using an outdated syntax/json.vim, for exemple the one that ship with neovim/vim (at least the the one in Arch Linux) is from Aug 2014 and don't have the code to disable conceal, that was introduced on Nov 2014.

kazuoteramoto avatar Mar 17 '18 14:03 kazuoteramoto

Turns out I was indeed using the version bundled with Neovim. Thanks for pointing that out.

mkaito avatar Mar 17 '18 22:03 mkaito