Skip to content

Add parsing of gutterSettings#506

Merged
Enselic merged 2 commits into
trishume:masterfrom
timhillgit:parse_gutterSettings
Feb 7, 2024
Merged

Add parsing of gutterSettings#506
Enselic merged 2 commits into
trishume:masterfrom
timhillgit:parse_gutterSettings

Conversation

@timhillgit

Copy link
Copy Markdown
Contributor

Many TextMate2 themes use gutterSettings to store colors for the gutter area. This is not supported by Sublime Text. This PR enables using gutterSettings to set the foreground and background of the gutter but only if they are not already set in settings.

Closes #469

@keith-hall

Copy link
Copy Markdown
Collaborator

Looks good to me. Probably it would also make sense to update the unit tests at

fn can_parse_common_themes() {
to prove it parses it as expected.

@timhillgit

Copy link
Copy Markdown
Contributor Author

Ah, that's a good idea, I was only looking at theme_load so I missed it. I'll add that in.

@timhillgit

Copy link
Copy Markdown
Contributor Author

@keith-hall Are there any more unit tests or anything else you'd like to see before this is merged?

@Enselic Enselic merged commit f665482 into trishume:master Feb 7, 2024
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.

Support for gutterSettings

3 participants