    # File lib/chef/knife.rb, line 367
        def highlight_config_error(file, line)
          config_file_lines = []
          IO.readlines(file).each_with_index {|l, i| config_file_lines << "#{(i + 1).to_s.rjust(3)}: #{l.chomp}"}
          if line == 1
            lines = config_file_lines[0..3]
            lines[0] = ui.color(lines[0], :red)
          else
            lines = config_file_lines[Range.new(line - 2, line)]
            lines[1] = ui.color(lines[1], :red)
          end
          ui.msg ""
          ui.msg ui.color("     # #{file}", :white)
          lines.each {|l| ui.msg(l)}
          ui.msg ""
        end