Skip to content

Commit 98fed93

Browse files
committed
update
1 parent bff2868 commit 98fed93

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

python/src/lsap/outline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ def _make_item(
6767
name=symbol.name,
6868
path=path,
6969
kind=SymbolKind.from_lsp(symbol.kind),
70-
detail=symbol.detail or "",
71-
hover="",
70+
detail=symbol.detail,
7271
range=Range(
7372
start=Position.from_lsp(symbol.range.start),
7473
end=Position.from_lsp(symbol.range.end),

python/src/lsap/symbol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async def resolve(
7171
document = await self.client.read_file(file_path)
7272
reader = DocumentReader(document)
7373

74-
code = ""
74+
code: str | None = None
7575
if snippet := reader.read(symbol.range):
7676
code = snippet.content
7777

0 commit comments

Comments
 (0)