diff options
-rw-r--r-- | README.md | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -11,7 +11,7 @@ Auto configurations for Language Server for [vim-lsp](https://github.com/prabirs ## Introduction -Language Servers is not easily to install. Visual Studio Code provide easy way to install/update Language Server and Language Server Client. This plugin provide same feature on Vim. +Language Servers is not easy to install. Visual Studio Code provide easy way to install/update Language Server and Language Server Client. This plugin provide same feature on Vim. ## Installation instruction @@ -39,6 +39,12 @@ Plug 'Shougo/deoplete.nvim' Plug 'lighttiger2505/deoplete-vim-lsp' ``` +### Notice + +If you use plugin manager that is merging plugins (ex. dein), Please setting stop merging work(ex. dein / merged = 0) or set `g:lsp_settings_servers_dir` option to a different directory from the vim-lsp's default. + +_reason_: + vim-lsp-settings install Language Servers into: #### Windows @@ -53,20 +59,12 @@ vim-lsp-settings install Language Servers into: $HOME/.local/share/vim-lsp-settings/servers ``` -If $XDG_DATA_HOME is defined: +If you define $XDG_DATA_HOME: ``` $XDG_DATA_HOME/vim-lsp-settings/servers ``` -### Notice - -If you use plugin manager that is merging plugins (ex. dein), Please setting stop merging work(ex. dein / merged = 0) or set `g:lsp_settings_servers_dir` option to a different directory from the vim-lsp's default. - -_reason_: - -Servers are installed in `./servers` directory at the caching area in default. -But when rebuild the cache, any merging plugin manager erases old cached files(include `./servers` and server execute files) before install. You can change the directory to install servers by set `g:lsp_settings_servers_dir` option in full path. ## Usage @@ -76,7 +74,13 @@ While editing a file with a supported filetype: :LspInstallServer ``` -Currently, no way to uninstall/update server. Run this command again, newer version will be installed. +To uninstall server: + +``` +:LspUninstallServer +``` + +Because no way to update server, please run `:LspInstallServer` again, newer version will be installed. ## Supported Languages |