Skip to content

Commit

Permalink
Merge pull request #1086 from kongds/master
Browse files Browse the repository at this point in the history
fix document_symbol display
  • Loading branch information
manateelazycat authored Oct 22, 2024
2 parents 6ff35fd + 6478a2f commit 4ddd115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/handler/document_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ddd115

Please sign in to comment.