Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Syntax highlighting: support more themes.#406

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cristianoc merged 3 commits intomasterfrommore-themes
May 6, 2022
Merged

Conversation

@cristianoc
Copy link
Collaborator

@cristianoccristianoc commentedMay 5, 2022
edited
Loading

Instead of semantic tokentype usesupport.type.primitive from the grammar. This is what TypeScript does too.

For keywords from the grammar, usestorage.type instead ofkeyword. Again this is taken from what TS does.

This change is a no-op on the themes considered so far. But improves themeSolarized Light andOne Dark Pro.

RemoveMariana Pro (Warm) from the list of recommended themes, as it seems to disable semantic highlighting entirely.
Looks like TS has the same problem there.

zth and cknitt reacted with thumbs up emoji
Instead of semantic token `type` use `support.type` from the grammar. This is what TypeScript does too.For keywords from the grammar, use `storage.type` instead of `keyword`. Again this is taken from what TS does.This change is a no-op on the themes considered so far. But improves theme `Solarized Light`.There seems to be no way to fix `Mariana Pro (Warm)`, which completely disables semantic highlighting. Looks like TS has the same problem there.
@cristianoccristianoc merged commitfb521f4 intomasterMay 6, 2022
@cristianoccristianoc deleted the more-themes branchMay 6, 2022 05:50
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@cristianoc

[8]ページ先頭

©2009-2025 Movatter.jp