We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb324e2 commit 920ac1cCopy full SHA for 920ac1c
robotcode/language_server/robotframework/parts/semantic_tokens.py
@@ -260,10 +260,8 @@ async def generate_sem_sub_tokens(
260
col_offset + g.start(),
261
g.end() - g.start(),
262
)
263
- elif (
264
- token.type == RobotToken.KEYWORD
265
- or ROBOT_KEYWORD_INNER
266
- or (token.type == RobotToken.NAME and isinstance(node, Fixture))
+ elif token.type in [RobotToken.KEYWORD, ROBOT_KEYWORD_INNER] or (
+ token.type == RobotToken.NAME and isinstance(node, Fixture)
267
):
268
if col_offset is None:
269
col_offset = token.col_offset
0 commit comments