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

space and symbols #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

space and symbols #14

wants to merge 3 commits into from

Conversation

qsmy41
Copy link

@qsmy41 qsmy41 commented Apr 9, 2020

  1. added some additional maths symbols

  2. allow ',', ':', ';', and '\ ' to be concealed as space in text.
    Additionally '{}' for math mode.

  3. allow {(xx)} and {[xx]} to be concealed as (xx) and [xx],
    e.g. {(a+b)}^{xy} can be concealed as (a+b)^{xy}.

2. allow '\,', '\:', '\;', and '\ ' to be concealed as space in text.
Additionally '{}' for math mode.
3. allow {(xx)} and {[xx]} to be concealed as (xx) and [xx],
e.g. {(a+b)}^{xy} can be concealed as (a+b)^{xy}.
other situations like \frac{a}{x(a-b)} can result in
false conceal.
syn match texMathSymbol ')}' contained conceal cchar=)
syn match texMathSymbol '{\[' contained conceal cchar=[
syn match texMathSymbol ']}' contained conceal cchar=]
syn match texMathSymbol '\^\%(0\|{\s*0\s*}\)' contained conceal cchar=⁰
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry that this is not intended to be removed.

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

Successfully merging this pull request may close these issues.

None yet

1 participant