Skip to content

Commit

Permalink
Merge pull request #13 from docwhat/turn-off-conceal
Browse files Browse the repository at this point in the history
Turn off conceal completely if requested (locally)
  • Loading branch information
elzr committed Aug 27, 2013
2 parents 37c223d + 3a0e0fd commit a4daea6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ftplugin/json.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ if !exists("g:vim_json_syntax_conceal")
let g:vim_json_syntax_conceal = 1
end

if has('conceal') && (g:vim_json_syntax_conceal == 1)
setlocal conceallevel=2
if has('conceal')
if (g:vim_json_syntax_conceal == 1)
setlocal conceallevel=2
else
setlocal conceallevel=0
endif
endif

0 comments on commit a4daea6

Please sign in to comment.