lib/ruby_lsp/requests/workspace_symbol.rb in ruby-lsp-0.11.2 vs lib/ruby_lsp/requests/workspace_symbol.rb in ruby-lsp-0.12.0
- old
+ new
@@ -71,17 +71,17 @@
end
end
private
- sig { params(entry: RubyIndexer::Index::Entry).returns(T.nilable(Integer)) }
+ sig { params(entry: RubyIndexer::Entry).returns(T.nilable(Integer)) }
def kind_for_entry(entry)
case entry
- when RubyIndexer::Index::Entry::Class
+ when RubyIndexer::Entry::Class
Constant::SymbolKind::CLASS
- when RubyIndexer::Index::Entry::Module
+ when RubyIndexer::Entry::Module
Constant::SymbolKind::NAMESPACE
- when RubyIndexer::Index::Entry::Constant
+ when RubyIndexer::Entry::Constant
Constant::SymbolKind::CONSTANT
end
end
end
end