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

No parameter highlighting #147

Open bryanenders opened 6 years ago

bryanenders commented 6 years ago

Parameter highlighting was removed in 77e37ceed36359b0ffddb633ae0df0f2b6e453ff for false positives, but no adequate replacement has been introduced.

I have witnessed a number of users pinned to 026c95e1e2f6992933cda85b27625ad103fea9ed for this reason.

tmepple commented 5 years ago

I liked the old parameter highlighting also (even with the false positives mostly affecting cond statements) so I merged the change back into the existing master tmLanguage file.

https://gist.github.com/tmepple/368b053d95b3fda7a9ad1719c496abfe

You can easily use this file with ST3 by putting it in /Users/username/Library/Application Support/Sublime Text 3/Packages/Elixir/Syntaxes (on Mac -- other platforms differ). Any files put into that directory will automatically override files from the installed package zip file. Of course to keep up to date you will have to manually merge any future changes.