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
?" confuses the syntax highlighter
#185
Comments
|
Am 19.05.2015 um 17:30 schrieb Martin Gausby:
The doublequote is special, needs to be quoted as a literal ""foo"" |> String.strip(?") |
|
Okay, that works. But I guess |
|
@gausby You are correct, it should work like this, and the fact that It can be very complicated. For example, how to tell the syntax highlighter to color the following: """
"How should I color this?" she asked
"""Also note that at least one test deals with this issue. If you wanted to contribute, writing a test that captures your highlighting bug as an expected failure (example) would be a big help. It is my belief that some of the syntactic choices of Elixir (optional parens w/ significant whitespace, using |
|
By "if you wanted to contribute" I mean, "If you have the time and inclination to contribute". I think that could be misinterpreted as snark or something, but it definitely is not. Just wanted to clarify. |
|
I do want to contribute; I was about to start an elixir emacs mode, but then Samuel started rocking hard on Alchemist, so I never got to start learning elisp because I could focus on Elixir (and my daytime job.) I will look into adding the unit tests, but time are scarce, and I don't have a proper internet connection at home. Do you know any good material on learning elisp; I know enough to do basic stuff in my emacs.d |
|
Am 20.05.2015 um 07:31 schrieb Martin Gausby:
Going through Elisp as provided by info was great for me. |
|
Good news and bad news. Bad news is, this still isn't fixed. The good news is, @andreas-roehler's TQS implementation does not get thrown off by |
|
Hey @syohex Do you think you could have a look at this issue if you get some time? Thanks |
|
Fixed by #340 |
Hi, thanks for a great package. I have a small problem and I think this is the right repo to report it in.
Will confuse the syntax highlighter. Everything to the end of the file will be considered as a binary.
The text was updated successfully, but these errors were encountered: