diff --git a/init.vim b/init.vim index 3284c81..01641ba 100644 --- a/init.vim +++ b/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