elixir-editors / elixir-tmbundle

A TextMate and Sublime Text Bundle for the Elixir programming language
https://elixir-lang.org/
Other
263 stars 61 forks source link

Add function call syntax without parenthesis #181

Closed CaiqueMitsuoka closed 5 years ago

CaiqueMitsuoka commented 5 years ago

I came across two unattended cases after we merged #179, both related to calls without parenthesis.

One is calls to erlang module functions without parenthesis and other one is calls of functions without parenthesis on pipes.

Before Screen Shot 2019-09-07 at 19 40 43
After Screen Shot 2019-09-07 at 19 41 30

I made one commit for each case but if needed I can open different PRs for each one. :smile:

josevalim commented 5 years ago

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:

binaryseed commented 5 years ago

This PR had the side-effect of "canceling" out keyword highlighting when used alongside the pipe

Screen Shot 2019-09-30 at 10 24 41 PM

In this example, case used to be highlighted properly like this:

Screen Shot 2019-09-30 at 10 25 36 PM

Do you have a solution to get the previous behavior for keywords back?