diff options
| author | Xiao Pan <xyz@flylightning.xyz> | 2026-04-13 06:15:54 +0800 |
|---|---|---|
| committer | Xiao Pan <xyz@flylightning.xyz> | 2026-05-03 01:50:23 +0800 |
| commit | f9cf1bb45eb186b6262acc15375da3b7e938f6c7 (patch) | |
| tree | f04cd62ed6801f933fdbbafa7b094b4e0637b086 /home/xyz/.config/nvim | |
| parent | 981b707f31f8d15cffc874412635cc43150af0df (diff) | |
init.nvim more comment about new statusline behavior
Diffstat (limited to 'home/xyz/.config/nvim')
| -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 |
