feat: support mini.statusline plugin#336
feat: support mini.statusline plugin#336adriantrunzo wants to merge 2 commits intodracula:masterfrom
Conversation
|
@cnjhb Feel free to try out this patch locally and let me know how it looks. |
@adriantrunzo That's fine, |
Good question. It looks like the existing airline and lightline themes don't specify a separate color for command mode. Nor do I think airline supports a different color for command mode: https://github.com/vim-airline/vim-airline/blob/4ab7c731fe64672412fbe0723831928785c84931/autoload/airline/themes/dark.vim#L16. Do you have any suggestions about which color to use? We haven't used Cyan or Pink, but they may be too bright? Red would look like an error. To play it safe, we could just match airline and let people customize the |
It doesn't matter if it's brighter, because the text is black. |
d813659 to
fce43c9
Compare
|
@benknoble I've pushed a new commit with the refactored inverse colors. A few points worth further discussion:
@cnjhb I choose cyan for the command mode color. Please see the screenshots in the pull request description. |
This is great, thanks. Would you mind splitting into 2 patches?
If not, I can do it locally before merging.
Yep, I'd prefer not to change (for now) the public interface by removing groups, so let's go ahead and keep |
fce43c9 to
824c400
Compare
Done. I've included both commits in this pull request, but also created a separate pull request with just the inverse group changes: #338. I don't know what your git workflow is, but hopefully you have what you need.
Sure, I've retained |
Fixes #335
I've tried to replicate the airline theme for the mode colors and adhere to the defaults of the mini.statusline plugin for the rest. Airline doesn't support a separate highlight group for command mode, so I've chosen the cyan color.
Documentation for the highlight groups: https://github.com/nvim-mini/mini.nvim/blob/cad365c212fb1e332cb93fa8f72697125799d00a/doc/mini-statusline.txt#L48
The screenshots below are using the default configuration for the mini.statusline plugin.