an attempt to fix the LSPStatus problem
This commit is contained in:
parent
e12a89dbe8
commit
63e5eb9341
10
init.vim
10
init.vim
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user