Skip to content

Change vim colorscheme based on system appearance #1306

@haze

Description

@haze

Is your feature request about something that is currently impossible or hard to do? Please describe the problem.
I initially created sys-appearance to provide updates to constrained contexts (vim script) about the macOS system appearance. At the time, I used NeoVim within Terminal.app and was able to use the Lua event loop to have efficient communication with the sys_appearance daemon. I've done an hour or so of research into whether or not this is possible in vim and gave up on a plugin only approach. I MacVim however is a perfect candidate for said behavior.

Describe the solution you'd like
Provide the user with an option to let MacVim set the colorscheme when the system appearance changes. Ideally, there should a checkbox toggle in the preferences. When a system appearance update occurs, if the checkbox is toggled, update the colorscheme with a value provided in the users vimrc.

Describe alternatives you've considered
I haven't considered any alternatives but am open to discussion and other ideas.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions