diff options
Diffstat (limited to 'home')
| -rw-r--r-- | home/xyz/.config/nvim/init.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim index c52fa80a..552783d6 100644 --- a/home/xyz/.config/nvim/init.vim +++ b/home/xyz/.config/nvim/init.vim @@ -226,7 +226,11 @@ set laststatus=2 " Before nvim 0.12.1, statusline+=%< as first works, now it needs = instead of " += else it will show two statuline. statusline+=%< as first seems still work " with new version of vim. It maybe because now nvim `:set statusline?` is not -" empty but at vim it is empty +" empty but at vim it is empty. Also note `set statusline=` at first will not +" work for nvim 0.12.1, it will not set statusline as empty, see: +" https://github.com/neovim/neovim/issues/38670#issuecomment-4168169676 +" https://github.com/neovim/neovim/issues/33576 +" https://github.com/neovim/neovim/pull/33036 set statusline=%< set statusline+=%f " %F or 1CTRL+G to show full path set statusline+=\ %m |
