an attempt to fix the LSPStatus problem

This commit is contained in:
Daniel Knüttel 2021-07-06 10:45:31 +02:00
parent e12a89dbe8
commit 63e5eb9341

View File

@ -190,6 +190,11 @@ function! LspStatus() abort
return ''
endfunction
function MyLspStatus()
let tmp = LspStatus()
return tmp
endfunction
"========================= Settings For Autocompletion =========================
"===============================================================================
@ -282,8 +287,9 @@ endif
set statusline=
set statusline+=%t\ %m%-y%-r%w%<
set statusline+=%=%-30.50{LspStatus()}
set statusline+=%=r:%-5l\ c:%-4v
set statusline+=%=
set statusline+=%-30.50{MyLspStatus()}
set statusline+=r:%-5l\ c:%-4v
set laststatus=2