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

No syntax highlighting character capture name #22480

Open
1 task done
nilskch opened this issue Dec 29, 2024 · 1 comment
Open
1 task done

No syntax highlighting character capture name #22480

nilskch opened this issue Dec 29, 2024 · 1 comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue

Comments

@nilskch
Copy link
Contributor

nilskch commented Dec 29, 2024

Check for existing issues

  • Completed

Describe the feature

Haskell, PureScript, and Zig each define a character capture name and there is no syntax highlighting for all of them.

I think it would be nice to default to the string syntax highlighting if there is not config provided for the character capture name.

Zed Version and System Specs

Zed: v0.167.1 (Zed Preview)
OS: macOS 15.1.1
Memory: 18 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help present your vision of the feature

syntax
@nilskch nilskch added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Dec 29, 2024
@nilskch
Copy link
Contributor Author

nilskch commented Dec 29, 2024

I think it would be best to add a "character" syntax color to all themes. I would make the character color the same as the string color in each theme.

I don't see a way to specify default syntax colors if they are not specified in the theme itself. We can define some default colors (here), but afaik we can't define defaults for syntax highlighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant