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

Remove Colors.plist and fix CI #1568

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

ychin
Copy link
Member

@ychin ychin commented Mar 3, 2025

CI is currently failing since :highlight auto-complete relies on loading v:colornames implicitly, but MacVim has its own special handling and parses a bundled Colors.plist file instead, which bypasses the whole system. Colors.plist was added a long time ago as Vim did not have a good cross-platform way to specify colors by names, but this has been alleviated upstream a while ago via runtime/colors/lists/default.vim which gets sourced for default color values.

To fix this, simply remove the file, as it serves no purpose anymore. Also remove custom hex color parsing logic which also should simply defer to Vim instead.

@ychin ychin added this to the Release 182 milestone Mar 3, 2025
@ychin ychin force-pushed the remove-colors-plist-fix-ci branch 2 times, most recently from 4029990 to 55ee9af Compare March 3, 2025 03:41
CI is currently failing since :highlight auto-complete relies on loading
v:colornames implicitly, but MacVim has its own special handling and
parses a bundled Colors.plist file instead, which bypasses the whole
system.  Colors.plist was added a long time ago as Vim did not have a
good cross-platform way to specify colors by names, but this has been
alleviated upstream a while ago via runtime/colors/lists/default.vim
which gets sourced for default color values.

To fix this, simply remove the file, as it serves no purpose anymore.
Also remove custom hex color parsing logic which also should simply
defer to Vim instead.
@ychin ychin force-pushed the remove-colors-plist-fix-ci branch from 55ee9af to 117efc7 Compare March 3, 2025 03:42
@ychin ychin merged commit 15cd80a into macvim-dev:master Mar 3, 2025
4 of 5 checks passed
@ychin ychin deleted the remove-colors-plist-fix-ci branch March 3, 2025 03:43
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