Skip to content

Commit

Permalink
Merge pull request #1089 from fuyu0425/fix-workspace-symbol
Browse files Browse the repository at this point in the history
workspace/symbol should use SYMBOL_MAP instead of KIND_MAP
  • Loading branch information
manateelazycat authored Oct 24, 2024
2 parents 4ddd115 + a039af4 commit 5e56390
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 = KIND_MAP[item.get("kind", 0)].lower()
symbol_kind = SYMBOL_MAP[symbol_name].lower()
symbol_display_name = "{} [{}]".format(symbol_name, symbol_kind)
symbol = {
"key": symbol_name,
Expand Down

0 comments on commit 5e56390

Please sign in to comment.