-
Notifications
You must be signed in to change notification settings - Fork 40
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
View list of things concealed (or change) #101
Comments
Interesting question and we'd love to help you resolve this, but I am unable to replicate the issue. To my knowledge vim-pencil has no rules that would conceal en or em-dashes. Are you sure you don't have another plugin that is doing that and causing some weird interference? |
Huh. Good point. The reason that I say that, is because if I turn off vim-pencil ( It could very well be a conflict. But for |
I take back what I said above, this plugin doesn't define it's own items to conceal but it does mess with how highlight groups (as defined by syntax plugins) interact with conceal. What color scheme / syntax plugin(s) are you using? And what is your |
I am using
As far as I know, that is all I have for syntax. What is |
Hi @alerque. So the en and em dash ( Okay, I found it. It is actually in So |
Yes, that makes sense as to why this is happening. I think we need to adjust something though because your example case is clearly an undesirable outcome. We make need to look into whether we can use finer grained control over what groups get concealed normally and which ones get concealed to nothing. Thanks for tracking this down. I can't promise we can fix it, but we can look into whether it's possible to fix. A temporary hack would be to add an |
Yes, I agree that it is an undesirable behaviour. The other texLitagures (lines 1210-1218 in that code) also get concealed to nothing, and these are character accents. For instance, the German |
I have read through the vim-pencil doc on concealing, as well as the help files in vim. I don't mind the concealing, but I would like to see what vim-pencil is concealing. For instance, before I used vim-pencil, vim-wiki would conceal some markup in my markdown files, but just things like bold, italic, links, etc.
Using vim-pencil with latex files also conceals these things, but also more. For instance, for some reason, vim-pencil is concealing both en dashes and em dashes. With the value of
g:pencil#conceallevel
at a default of3
, this means that it is concealed with nothing. Which is really odd for an en dash that separates two words.Is there a way to turn off the concealing of certain things or to see what is concealed (and then change it?) I could not find such a list in the docs. I can of course turn off concealing, but I like it for bold and italic, etc, so I would prefer to keep it on.
The text was updated successfully, but these errors were encountered: