there is an option named g:vim_json_warnings in this file, maybe use 
g:vim_json_conceal is better, also doc need to be updated.

________________________________
--
Best regards,
wsdjeg

From: matsuhav (Vim Github Repository)<mailto:vim-dev-git...@256bit.org>
Date: 2019-09-17 22:20
To: vim/vim<mailto:v...@noreply.github.com>
CC: Subscribed<mailto:subscri...@noreply.github.com>
Subject: [vim/vim] Add g:json_no_conceal to disable conceal for json filetype 
(#4948)

This PR is about vim syntax file, json.vim
I opened this PR because the maintainer's email is not on json.vim.
Currently json syntax file is 
unmaintained<https://groups.google.com/d/msg/vim_dev/HU4t34WYauU/UPPkKFZaAgAJ>.
This PR is not about the syntax, but syntax file's option. So please merge.

Vim's conceal feature is used at many places and I want a option to disable 
json's conceal.
For example, I use vim plugin 
indentLine(https://github.com/Yggdroot/indentLine). This plugin uses conceal 
feature to display indent.
I can't disable json.vim's conceal while using indentLine's conceal with 
conceallevel.

________________________________
You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/4948

Commit Summary

  *   Add g:json_no_conceal to disable conceal for json filetype

File Changes

  *   M 
runtime/syntax/json.vim<https://github.com/vim/vim/pull/4948/files#diff-0> (4)

Patch Links:

  *   https://github.com/vim/vim/pull/4948.patch
  *   https://github.com/vim/vim/pull/4948.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on 
GitHub<https://github.com/vim/vim/pull/4948?email_source=notifications&email_token=ACY5DGEMIJA55GNKFAYP6ZTQKDRT7A5CNFSM4IXQXEGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HL32TSA>

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
vim_dev+unsubscr...@googlegroups.com<mailto:vim_dev+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/4948%40github.com<https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/4948%40github.com?utm_medium=email&utm_source=footer>.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/PS1PR03MB48900D002ED22727D52D7942D48F0%40PS1PR03MB4890.apcprd03.prod.outlook.com.

Reply via email to