Skip to content
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

More precise settings for syntax concealing #277

Closed
danijar opened this issue May 9, 2016 · 3 comments
Closed

More precise settings for syntax concealing #277

danijar opened this issue May 9, 2016 · 3 comments

Comments

@danijar
Copy link

danijar commented May 9, 2016

From what I found, it's not possible to disable/enable individual concealing types. For example, I'd like to disable the features that hides image URLs but keep the awesome LaTeX feature that renders \partial a_3 as ∂ a₃.

@shirosaki
Copy link
Collaborator

The following setting disables markdown URL concealing but enables LaTeX concealing.

.vimrc:

let g:vim_markdown_conceal = 0
let g:vim_markdown_math = 1
set conceallevel=2

LaTeX feature works in $.

$ \partial a_3 $

@danijar
Copy link
Author

danijar commented May 10, 2016

Thanks

@danijar danijar closed this as completed May 10, 2016
@sangaline
Copy link

You can also disable both the markdown and markdown math concealment with:

let g:tex_conceal = ""
let g:vim_markdown_conceal = 0
let g:vim_markdown_math = 1

This allows you to use unmatched brackets in LaTeX without setting conceallevel to 0 (which might be an issue if you use indentLine, as in #253).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants