norcalli / nvim-colorizer.lua

The fastest Neovim colorizer.
Other
2.25k stars 117 forks source link

Add "both" mode that highlights foreground and background #52

Open harrygallagher4 opened 3 years ago

harrygallagher4 commented 3 years ago

I had a very specific use case (printing a gradient) that made the high-contrast text get in the way so I hacked together this extra mode and thought some others might like it. I couldn't think of a better abbreviation than "mbf" since "mb" is already taken, I'm not sure how much the abbreviation matters to you but maybe you can think of a better one or a better name than "both." Anyway, thanks for this plugin :)

(sorry about the @ 2x images, i'm not sure why they weren't resized properly) ![image](https://user-images.githubusercontent.com/1610434/112913700-dadcf880-90bf-11eb-8793-1ade4226f73e.png) ![image](https://user-images.githubusercontent.com/1610434/112913738-f34d1300-90bf-11eb-8592-b699be518e92.png)