You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the server never starts up afterwards. :LspStatus shows typescript-language-server: not running. What could be going wrong? This is all I have in my ~/_vimrc
filetype plugin indent on
syntax on
color desert
call plug#begin('~/.vim/autoload/')
Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'
call plug#end()
function! s:on_lsp_buffer_enabled() abort
setlocal omnifunc=lsp#complete
endfunction
augroup lsp_install
au!
" call s:on_lsp_buffer_enabled only for languages that has the server registered.
autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled()
augroup END
let g:lsp_log_verbose = 1
let g:lsp_log_file = expand('~/vim-lsp.log')
The text was updated successfully, but these errors were encountered:
I was running vim from Git Bash, and I guess that it was screwing with the system finding my files. I downloaded Vim from the official site for Windows, then moved my ~/.vim stuff to ~/vimfiles, which is what Windows uses.
I ran
:PlugInstall
and can see that the lsp servers are installed and registered by the log message:However, the server never starts up afterwards. :LspStatus shows
typescript-language-server: not running
. What could be going wrong? This is all I have in my ~/_vimrcThe text was updated successfully, but these errors were encountered: