lib/ruby_lsp/requests/workspace_symbol.rb in ruby-lsp-0.12.5 vs lib/ruby_lsp/requests/workspace_symbol.rb in ruby-lsp-0.13.0
- old
+ new
@@ -73,9 +73,11 @@
Constant::SymbolKind::NAMESPACE
when RubyIndexer::Entry::Constant
Constant::SymbolKind::CONSTANT
when RubyIndexer::Entry::Method
entry.name == "initialize" ? Constant::SymbolKind::CONSTRUCTOR : Constant::SymbolKind::METHOD
+ when RubyIndexer::Entry::Accessor
+ Constant::SymbolKind::PROPERTY
end
end
end
end
end