xiyaowong / transparent.nvim

Remove all background colors to make nvim transparent
806 stars 23 forks source link

feat: add ability to save enabled in cache file #26

Closed 0xfraso closed 1 year ago

0xfraso commented 1 year ago

As I often found myself tweaking my neovim config just to turn transparent on/off, I found that would be nice to keep the toggle state in a cache file. I just finished adding the same feature in my plugin nvim-listchars (which is highly inspired by nvim-transparent) and I thought that this kind of plugins should have the same behaviour.

xiyaowong commented 1 year ago

In my personal configuration, I also use caching. If a plugin provides caching, I think the cached files should be placed in the plugin directory so that they can be correctly deleted when the plugin is uninstalled

xiyaowong commented 1 year ago

This plugin needs to be refactored.