atom / language-ruby

Ruby package for Atom
Other
101 stars 144 forks source link

Inconsistent color of local variable #301

Open collimarco opened 3 years ago

collimarco commented 3 years ago
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 white when used in the last line. That is inconsistent.

Expected: a variable name must keep the same color inside a method.