language-ruby
language-ruby copied to clipboard
Ruby package for Atom
### Description of the Change This is a rewrite of the Tree-sitter grammar to implement [naming conventions](https://github.com/atom/flight-manual.atom.io/pull/564) for syntax scopes. ### Benefits - Many new scopes added to make the...
``` def method content = File.read 'Dockerfile' parser = DockerfileParser.new parser.instance_eval(content) end ``` `content =` and `parser =` are red in the first two lines, while the same variables are...
I have a simple heredoc like this: ``` content =
* [x] Put an X between the brackets on this line if you have done all of the following: * Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode * Followed all...
`^version` means install any version that is compatible with the range. This means npm can even install tree-sitter-javascript version 0.15 since in semver 0.15 should be compatible with 0.19. tree-sitter...
Ruby syntax incorrectly colors (AND GITHUB!!) public in self.public even though it's valid (at least in interpreter and works in my code) to have a method named public. - Build...
### Description Ruby code is not getting the right colors. Light theme seems to be ok. ### Steps to Reproduce 1. Upload to atom >= 1.32.0 2. Open any ruby...
### Description of the Change Added scopes for many kernel and special methods in tree-sitter parser. For example: * visibility methods (`private`, `protected` ...) * `new` method * Gemfile-specific methods...
Support for this operator was added in https://github.com/atom/language-ruby/pull/125, but I think it should be classified different: - `punctuation.separator.method.ruby` - (what it is now)  - `keyword.operator.logical.ruby` - This really makes...
### Description When writing code in ruby that includes an empty regex expression (ex: //) or that includes only an escaped character (ex: /\D/), it throws off the colors of...