lib/spoom/sorbet/lsp/structures.rb in spoom-1.1.4 vs lib/spoom/sorbet/lsp/structures.rb in spoom-1.1.5

- old
+ new

@@ -54,11 +54,11 @@ ) end sig { override.params(printer: SymbolPrinter).void } def accept_printer(printer) - printer.print_colored("#{line}:#{char}", :light_black) + printer.print_colored("#{line}:#{char}", Color::LIGHT_BLACK) end def to_s "#{line}:#{char}" end @@ -79,11 +79,11 @@ end sig { override.params(printer: SymbolPrinter).void } def accept_printer(printer) printer.print_object(start) - printer.print_colored("-", :light_black) + printer.print_colored("-", Color::LIGHT_BLACK) printer.print_object(self.end) end def to_s "#{start}-#{self.end}" @@ -104,11 +104,11 @@ ) end sig { override.params(printer: SymbolPrinter).void } def accept_printer(printer) - printer.print_colored("#{printer.clean_uri(uri)}:", :light_black) + printer.print_colored("#{printer.clean_uri(uri)}:", Color::LIGHT_BLACK) printer.print_object(range) end def to_s "#{uri}:#{range}" @@ -201,17 +201,17 @@ printer.seen.add(h) printer.printt printer.print(kind_string) printer.print(' ') - printer.print_colored(name, :blue, :bold) - printer.print_colored(' (', :light_black) + printer.print_colored(name, Color::BLUE, Color::BOLD) + printer.print_colored(' (', Color::LIGHT_BLACK) if range printer.print_object(range) elsif location printer.print_object(location) end - printer.print_colored(')', :light_black) + printer.print_colored(')', Color::LIGHT_BLACK) printer.printn unless children.empty? printer.indent printer.print_objects(children) printer.dedent