Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: correct Swift highlights #12409

Merged
merged 3 commits into from
Jan 5, 2025

Conversation

nik-rev
Copy link
Contributor

@nik-rev nik-rev commented Jan 5, 2025

  • Adds injections for the comment language
  • Correct highlight of the nil value. Same highlight as null in javascript, java and others
  • Recognize < and > as punctuation, used in generics (same color as the syntax used in other languages)
  • protocol function methods are recognized
  • When accessing object properties, like hello.world, the world is properly recognized as being a member
  • Recognize the \ as an operator

@the-mikedavis the-mikedavis merged commit 2b8f8df into helix-editor:master Jan 5, 2025
6 checks passed
Desdaemon pushed a commit to Desdaemon/helix that referenced this pull request Jan 6, 2025
- Adds injections for the `comment` language
- Correct highlight of the `nil` value. Same highlight as `null` in javascript, java and others
- Recognize `<` and `>` as punctuation, used in generics (same color as the syntax used in other languages)
- `protocol` function methods are recognized
- When accessing object properties, like `hello.world`, the `world` is properly recognized as being a member
- Recognize the `\` as an operator
diucicd pushed a commit to diucicd/helix that referenced this pull request Jan 8, 2025
- Adds injections for the `comment` language
- Correct highlight of the `nil` value. Same highlight as `null` in javascript, java and others
- Recognize `<` and `>` as punctuation, used in generics (same color as the syntax used in other languages)
- `protocol` function methods are recognized
- When accessing object properties, like `hello.world`, the `world` is properly recognized as being a member
- Recognize the `\` as an operator
rmburg pushed a commit to rmburg/helix that referenced this pull request Jan 20, 2025
- Adds injections for the `comment` language
- Correct highlight of the `nil` value. Same highlight as `null` in javascript, java and others
- Recognize `<` and `>` as punctuation, used in generics (same color as the syntax used in other languages)
- `protocol` function methods are recognized
- When accessing object properties, like `hello.world`, the `world` is properly recognized as being a member
- Recognize the `\` as an operator
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.

2 participants