-
Notifications
You must be signed in to change notification settings - Fork 94
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
Include - in punctuation syntax class #307
Conversation
I guess |
I'd say no, it's an operator first imo. Specifically it should not consider |
I might be a schoolboy here, but what is the benefits to adding minus to the syntax table? I notice that other infix characters are not there, such as multiply, division, plus, etc. |
@gausby they're all in the syntax table and they're categorized as punctuation, like what I moved From the docs:
For a practical reason, this is And as punctuation: It would also apply to searching for a symbol under the point. In short, there's no actual reason I can come up with that |
Okay. Thanks for the explanation. I agree that it would be awesome. On my machine (running the latest master of elixir-mode) I get the same behaviour for |
@gausby ah, indeed, I think I was looking at the syntax table for ruby at the time. I updated the pull request to include all of those operators. I'm not sure about the unit tests, I'll see if they pass this time. |
Looks like the tests are still failing which is rather surprising. I'll see if I can get the tests running and figure out what's going on when i get a chance. |
@gausby I saw some conversation on #emacs-elixir, are these failures just intermittent ones or are they actual failures? |
@aaronjensen it seems that they are actual errors: https://travis-ci.org/elixir-lang/emacs-elixir/jobs/130900904 |
@gausby I was missing |
@aaronjensen great! thanks a lot guys 💛 💙 💚 |
-
is subtraction in elixir, not part of a symbol, though I may be missing something.