Skip to content

Conversation

@dsummersl
Copy link

This is super nice for the unimpaired mappings [ob and ]ob (if using a colorscheme that supports light/dark).

" Change light/dark when the background changes
augroup conoline_monitor_background_setting
autocmd!
autocmd OptionSet background :if &background == 'light' | execute "ConoLineColorLight" | else | execute "ConoLineColorDark" | endif
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can drop the executes and just write the ConoLineColor* command names directly. :neckbeard:

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.

2 participants