Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.
/ autobg.nvim Public archive

auto sync vim bg with mac appearnace

License

Notifications You must be signed in to change notification settings

will/autobg.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use github.com/will/bgwinch.nvim instead since neovim 0.7

autobg.nvim

This plugin syncs the background option in neovim to match the macOS appearance.

autobg

It assumes that if you're on a mac you have swiftc installed from xcode commandline tools or something, and compiles a very small program that listens for appearance changes and notifies neovim.

It also depends on plenary.nvim.

Packer

use {
  "will/autobg.nvim",
  config = function()
    require("autobg").setup()
  end,
}

Todo

I couldn't figure out a good way to ensure that the helper program exits in all cases when neovim exists, and opened an issue about that. In the meantime, the helper program prints to stdout once a minute, and will get killed with SIGPIPE if the parent neovim process is gone.

About

auto sync vim bg with mac appearnace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published