lib/ruby_lsp/requests/support/common.rb in ruby-lsp-0.17.15 vs lib/ruby_lsp/requests/support/common.rb in ruby-lsp-0.17.16

- old
+ new

@@ -35,18 +35,9 @@ ), end: Interface::Position.new(line: location.end_line - 1, character: location.end_column), ) end - sig { params(node: T.nilable(Prism::Node), range: T.nilable(T::Range[Integer])).returns(T::Boolean) } - def visible?(node, range) - return true if range.nil? - return false if node.nil? - - loc = node.location - range.cover?(loc.start_line - 1) && range.cover?(loc.end_line - 1) - end - sig do params( node: Prism::Node, title: String, command_name: String,