-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn off conceal completely if requested #13
Conversation
It can be confusing if `g:vim_json_syntax_conceal` is set to `0` but `conceal` is set to a non-zero value (e.g. `1` in my case) by the user's `.vimrc`. This sets `conceal` to `0` if `g:vim_json_syntax_conceal` is set to `0`.
FYI: I like the My default I'm not sure what would be needed to make the |
Turn off conceal completely if requested (locally)
Thanks for the tweak docwhat. I agree that Yes, ideally, the Anyway, frankly I don't see this as a big deal. It seems to me viewing is by far the most common activity and when editing you just need to move yourself to the line to turn off the concealing. :) |
Wait, what? The You can see it in this demo. Ah-hah! I see, Hah! May I humbly suggest that you set No wonder I was having such a hard time with the conceal mode for JSON! Now it's working much better! Ciao! |
@docwhat LOL at your stream-of-thought comment. I'm happy we were able to communicate. This misbehaviour of concealing is one of those simple things that are hard to put into words... and that seriously affected the usefulness of this plugin. I agree with your suggestion, PS: The indentLine plugin sounds cool, I might try it. Being a syntax highlighting junky my solution so far has been some makeshift background highlighting: |
Cool! Thanks. Nice reading list: I'd like to suggest Dawkin's "The Selfish Gene". It really helps understanding not just genes, but memes and other popular ideas as well. It's a really different way to think about how things change. It works for coding too. |
It can be confusing if
g:vim_json_syntax_conceal
is set to0
butconceal
is set to a non-zero value (e.g.
1
in my case) by the user's.vimrc
.This sets
conceal
to0
ifg:vim_json_syntax_conceal
is set to0
.