Remove typescript support in vim

This commit is contained in:
Cyryl Płotnicki 2019-05-24 11:20:46 +01:00
parent 5dcfdab7f5
commit 0e399a1516
2 changed files with 0 additions and 12 deletions

View file

@ -19,7 +19,6 @@ Plug 'jremmen/vim-ripgrep'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'kien/ctrlp.vim'
Plug 'leafgarland/typescript-vim'
Plug 'LnL7/vim-nix'
Plug 'mhinz/vim-startify'
Plug 'mileszs/ack.vim'
@ -31,8 +30,6 @@ Plug 'prabirshrestha/vim-lsp'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'rust-lang/rust.vim'
Plug 'ryanolsonx/vim-lsp-javascript'
Plug 'ryanolsonx/vim-lsp-typescript'
Plug 'scrooloose/nerdtree'
Plug 'timonv/vim-cargo'
Plug 'tpope/vim-cucumber'

View file

@ -24,15 +24,6 @@ au User lsp_setup call lsp#register_server({
\ 'whitelist': ['rust'],
\ })
if executable('typescript-language-server')
au User lsp_setup call lsp#register_server({
\ 'name': 'javascript support using typescript-language-server',
\ 'cmd': { server_info->[&shell, &shellcmdflag, 'typescript-language-server --stdio']},
\ 'root_uri': { server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_directory(lsp#utils#get_buffer_path(), '.git/..'))},
\ 'whitelist': ['javascript', 'javascript.jsx', 'typescript', 'typescript.tsx'],
\ })
endif
if executable('gopls')
au User lsp_setup call lsp#register_server({
\ 'name': 'gopls',