summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.config/nvim/init.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/xyz/.config/nvim/init.vim b/home/xyz/.config/nvim/init.vim
index 04bbe4ca..2fc4dde3 100644
--- a/home/xyz/.config/nvim/init.vim
+++ b/home/xyz/.config/nvim/init.vim
@@ -230,7 +230,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