Skip to content

Commit

Permalink
Remove unused var.
Browse files Browse the repository at this point in the history
  • Loading branch information
manateelazycat committed Nov 3, 2023
1 parent a8b422f commit 25a3fb8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/handler/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ def process_response(self, response: dict) -> None:
items = {}

if response is not None:
item_index = 0

# Get value of 'incomplete-fuzzy-match' from lsp server config file.
fuzzy = self.get_fuzzy_option()

Expand Down Expand Up @@ -164,8 +162,6 @@ def process_response(self, response: dict) -> None:

items[key] = item

item_index += 1

self.file_action.completion_items[self.method_server_name] = items

completion_candidates = sorted(completion_candidates, key=cmp_to_key(self.compare_candidates))
Expand Down

0 comments on commit 25a3fb8

Please sign in to comment.