From 6478a2f1c12799f48b494c567e399faba1953d7f Mon Sep 17 00:00:00 2001 From: kongds Date: Tue, 22 Oct 2024 13:37:39 +0800 Subject: [PATCH] fix document_symbol display --- core/handler/document_symbol.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/handler/document_symbol.py b/core/handler/document_symbol.py index 210f68939a..4666c92f7e 100644 --- a/core/handler/document_symbol.py +++ b/core/handler/document_symbol.py @@ -26,8 +26,8 @@ def process_response(self, response: dict) -> None: (range['end']['line'] == self.position['line'] and range['end']['character'] >= self.position['character']): if len(current_defun): current_defun += '.' - current_defun += symbol['name'] - symbols.append(symbol) + current_defun += symbol['name'] + symbols.append(symbol) eval_in_emacs("lsp-bridge-symbols--record-current-defun", current_defun) except: import traceback