-
Notifications
You must be signed in to change notification settings - Fork 347
Prettify symbol troubles with dot operator #589
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
Comments
@hmgibson23: If you look through the code you will see that "." requires special handling. Are you able to look at this yourself and create a pull request? |
Yes will have a look |
@hmgibson23: should be pretty easy: just check if a dot has space before and space after. |
Yeah good call. |
@gracjan it can't just be a matter of requiring a space before/after: that means that Then again, how do you tell if |
See here: https://www.haskell.org/onlinereport/haskell2010/haskellch2.html#x7-180002.4 specifically this table: This Lexes as this
|
I'm not that familiar with Elisp, so would something like
work? Which makes me think the |
Close, but no cigar. I guess using http://www.gnu.org/software/emacs/manual/html_node/elisp/Near-Point.html |
Great fix for the issues with
>>=
. Thanks for the super fast response. The fix however has unfortunately introduced another bug. Now in imports.
is transformed into ∘ so you get the fairly unpleasant import Data∘ByteString∘Char8 instead ofData.ByteString.Char8
.Sorry I feel like the scrooge of prettify-symbols-mode!
The text was updated successfully, but these errors were encountered: