Skip to content

Conversation

@AlexandrosAlexiou
Copy link

Fixes incorrect syntax highlighting for 'suspend' keyword.

Problem:
'suspend' was listed as @function.builtin but it's actually a modifier keyword, not a function. This caused wrong colors.

Changes:

  • highlights.scm: Removed "suspend" from builtin functions list

'suspend' is already highlighted correctly as a modifier via function_modifier and _type_modifier rules.

Example:
suspend fun fetchData() // 'suspend' is a modifier
// NOT a function like println()

Tests: 111/111 pass

Fixes incorrect syntax highlighting for 'suspend' keyword.

Problem:
'suspend' was listed as @function.builtin but it's actually a
modifier keyword, not a function. This caused wrong colors.

Changes:
- highlights.scm: Removed "suspend" from builtin functions list

'suspend' is already highlighted correctly as a modifier via
function_modifier and _type_modifier rules.

Example:
  suspend fun fetchData()  // 'suspend' is a modifier
  // NOT a function like println()

Tests: 111/111 pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant