Browse Source

ts lsp

master
Ivan Polyakov 2 weeks ago
parent
commit
b02c91f7f0
  1. 3
      .gitmodules
  2. 1
      .vim/pack/editor/start/vim-clap
  3. 9
      .vim/web.vimrc

3
.gitmodules vendored

@ -40,6 +40,3 @@
[submodule ".vim/pack/editor/start/vim-snippets"] [submodule ".vim/pack/editor/start/vim-snippets"]
path = .vim/pack/editor/start/vim-snippets path = .vim/pack/editor/start/vim-snippets
url = https://github.com/honza/vim-snippets url = https://github.com/honza/vim-snippets
[submodule ".vim/pack/editor/start/vim-clap"]
path = .vim/pack/editor/start/vim-clap
url = https://github.com/liuchengxu/vim-clap.git

1
.vim/pack/editor/start/vim-clap

@ -1 +0,0 @@
Subproject commit f934849413d270dc3985ce7da6ece754160e7035

9
.vim/web.vimrc

@ -35,6 +35,15 @@ if executable("vscode-json-languageserver")
}]) }])
endif endif
if executable("typescript-language-server")
g:LspAddServer([{
name: 'tsserver',
filetype: ['javascript', 'typescript'],
path: 'typescript-language-server',
args: ['--stdio'],
}])
endif
if executable("intelephense") if executable("intelephense")
g:LspAddServer([{ g:LspAddServer([{
name: 'intelephense', name: 'intelephense',

Loading…
Cancel
Save