language-ruby icon indicating copy to clipboard operation
language-ruby copied to clipboard

Inconsistent color of local variable

Open collimarco opened this issue 4 years ago • 0 comments

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.

collimarco avatar Oct 30 '21 23:10 collimarco