Skip to content

Commit db4a489

Browse files
committed
completion of namespaces includes keywords from libraries and resources with same name
1 parent 112cc2c commit db4a489

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

robotcode/language_server/robotframework/parts/completion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ def enumerate_indexes(s: str, c: str) -> Iterator[int]:
465465
},
466466
)
467467
result.append(c)
468-
return result
469468

470469
resources = await namespace.get_resources()
471470
if library_name in resources:
@@ -488,7 +487,8 @@ def enumerate_indexes(s: str, c: str) -> Iterator[int]:
488487
},
489488
)
490489
result.append(c)
491-
return result
490+
491+
return result
492492

493493
for kw in await namespace.get_keywords():
494494
if kw.is_error_handler:

0 commit comments

Comments
 (0)