From 25a3fb8f9fb3b74dfd4dbcc8fac47bbf5df30832 Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Fri, 3 Nov 2023 22:06:32 +0800 Subject: [PATCH] Remove unused var. --- core/handler/completion.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/handler/completion.py b/core/handler/completion.py index b76123a11c..83b14b7984 100644 --- a/core/handler/completion.py +++ b/core/handler/completion.py @@ -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() @@ -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))