bomb showing
authorSergey Matveev <stargrave@stargrave.org>
Thu, 11 Jun 2020 13:08:57 +0000 (16:08 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 11 Jun 2020 13:08:57 +0000 (16:08 +0300)
vim/.vimrc

index 8b67c498ad68cb0edb4641e3b41a5ff758847a5c..ab10103833a82475e7471909ffd379c2593ea820 100644 (file)
@@ -70,7 +70,7 @@ highlight CursorColumn ctermfg=cyan ctermbg=red
 set laststatus=2
 set statusline=%F\ %m%r%h%w%q%k\ %=
 set statusline+=%n\ %#Question#%Y
-set statusline+=%#DiffChange#%{strlen(&fenc)?&fenc:&enc}\ %{&ff}
+set statusline+=%#DiffChange#%{strlen(&fenc)?&fenc:&enc}%{&bomb?'-bom':''}\ %{&ff}
 set statusline+=%#DiffAdd#%l/%L
 set statusline+=%#Todo#%c%V:0x%B
 set statusline+=%#Comment#%o