Search code examples
jsonvimconfigmacvimdouble-quotes

MacVim json double quotes


I have a fresh install of janus vim plugins and macvim.

For some reason when I open a .json file in macvim, there are no double quotes around the keys or values in the .json file. As I scroll down the lines of the file, then double quotes show for the key and value of the line I am currently on.

If I open the file in vim, then everything works as expected.

Why is macvim behaving differently from vim? How can I disable this macvim functionality?

Any help would be greatly appreciated.


Solution

  • You've probablly installed vim-json which hides double quotes.

    To disable the concealing of double quotes add let g:vim_json_syntax_conceal = 0 to your .vimrc