Skip to content

Commit

Permalink
Fix issue #1093
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Oct 24, 2024
1 parent e70d96d commit c7430dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/handler/completion_workspace_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def process_response(self, response: dict) -> None:

for item in response:
symbol_name = item["name"]
symbol_kind = SYMBOL_MAP[symbol_name].lower()
symbol_kind = SYMBOL_MAP[item.get("kind", 0)].lower()
symbol_display_name = "{} [{}]".format(symbol_name, symbol_kind)
symbol = {
"key": symbol_name,
Expand Down

0 comments on commit c7430dd

Please sign in to comment.