vamolessa / pepper

simple and opinionated modal code editor for your terminal
https://vamolessa.github.io/pepper/
372 stars 17 forks source link

[Plugin] Display the color of color-hex-codes, color functions #45

Open NNBnh opened 2 years ago

NNBnh commented 2 years ago

Display the color of color-hex-codes and color functions is pretty helpful for writing CSS and UI design... VScode support this feature by default, while NeoVim have an acceptable plugin vim-hexokinase that do the job:

gif

I hope Pepper could support for coloring:

With styling options:

If you find this suggestion it's suitable to be built-in with the editor, feel free to label this issue with "Plugin" or "Plugin Idea".

vamolessa commented 2 years ago

This would be a feature for a plugin or a custom client. However, as it is right now, there's no way for a plugin to interact with the view rendering, so it would require some work either on the plugin system, the client/server protocol or both.