tamton-aquib / staline.nvim

A modern lightweight statusline and bufferline plugin for neovim in lua.
MIT License
380 stars 17 forks source link

Fix mode icon when in replace confirmation #10

Closed philss closed 3 years ago

philss commented 3 years ago

Neovim enters in a special mode when confirming a replacement with :%s/patt/repl/gc (the c is for confirmation).

This commit fixes it by fixing the default value of a mode icon.

Before

nvim-replace-problem-staline

After

after-fixing-staline

BTW, thank you for the project! :heart:

tamton-aquib commented 3 years ago

Heyyo @philss , thanks for the PR.

just saw :help mode() and there are some modes which i haven't included, will probably add it soon. Thanks again 😅