elixir-editors / language-elixir

Elixir language support for the Atom editor.
Other
181 stars 40 forks source link

Capturing function arguments? #86

Closed phyllisstein closed 7 years ago

phyllisstein commented 7 years ago

Hey there! I hate to be a nudzh, but I was hoping I could suggest a small enhancement to this package. I noticed that the Sublime Text Elixir package has a scope for arguments in a function definition, but that the Atom grammar does not:

screen shot 1

screen shot 2

Personally I like being able to assign highlighting to arguments---I guess it's partly force of habit at this point, but I find that being able to quickly distinguish them from text helps with visual grepping.

(Plus it's purdy. 😍 )

Sadly I don't know Elixir or Atom grammars well enough to fork it and take a crack. But I was wondering if there was a path to creating similar functionality for Atom. Thanks in advance for taking it under consideration!

keathley commented 7 years ago

Thanks @phyllisstein I'll take a look at it.