vim-json
vim-json copied to clipboard
Disable conceal by default
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?
+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)
+1
Glad to know I wasn't the only one to fall for this! +1.
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.
The same here. I think it shouldn't conceal quotes, it should be optional.
There's a setting for this let g:vim_json_syntax_conceal = 0
, but yeah it should be off by default.
let g:vim_json_syntax_conceal = 0
This does not work for me. Outdated advice?
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.
Turns out I was indeed using the version bundled with Neovim. Thanks for pointing that out.