Skip to content

Commit 40ffb29

Browse files
committed
remove quotes in hovering over variables
1 parent 8d4ae46 commit 40ffb29

File tree

1 file changed

+5
-7
lines changed
  • robotcode/language_server/robotframework/parts

1 file changed

+5
-7
lines changed

robotcode/language_server/robotframework/parts/hover.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,11 @@ async def _hover_default(self, nodes: List[ast.AST], document: TextDocument, pos
116116
if variable is not None:
117117
if variable.has_value or variable.resolvable:
118118
try:
119-
value = repr(
120-
await namespace.imports_manager.resolve_variable(
121-
variable.name,
122-
str(document.uri.to_path().parent),
123-
await namespace.get_unresolved_variables(nodes, position),
124-
False,
125-
)
119+
value = await namespace.imports_manager.resolve_variable(
120+
variable.name,
121+
str(document.uri.to_path().parent),
122+
await namespace.get_unresolved_variables(nodes, position),
123+
False,
126124
)
127125
except (asyncio.CancelledError, SystemExit, KeyboardInterrupt):
128126
raise

0 commit comments

Comments
 (0)