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

v vs. ∨ #24

Closed
msprotz opened this issue Oct 6, 2015 · 3 comments
Closed

v vs. ∨ #24

msprotz opened this issue Oct 6, 2015 · 3 comments

Comments

@msprotz
Copy link
Contributor

msprotz commented Oct 6, 2015

The two symbols are really close to each other visually. Is there any way you could make ∨ bold to distinguish it from the variable v? Or perhaps in a different color.

Thanks!

Jonathan

cpitclaudel added a commit that referenced this issue Oct 7, 2015
@cpitclaudel
Copy link
Contributor

I pushed a change in that direction. fstar-ambiguous-face is now applied to /\ and \/. By default it inherits from font-lock-negation-char-face, which is usually just bold. Feel free to customize that face and tell me if you find a better way to disambiguate :)

Another approach is to use

(set-fontset-font t (cons ?∨ ?∨) "Symbola" nil 'prepend)

or

(set-fontset-font t (cons ?∨ ?∨) "FreeMono" nil 'prepend)

as these fonts have much more readable symbols.

@msprotz
Copy link
Contributor Author

msprotz commented Oct 7, 2015

I didn't notice any change after upgrading fstar-mode, but "another approach" worked fine for me.

Thanks!

@cpitclaudel
Copy link
Contributor

Sure. I'll close this then, and anyone with the same problem should feel free to reopen.

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

2 participants