diff options
author | mattn <mattn.jp@gmail.com> | 2020-03-07 20:07:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 20:07:38 +0900 |
commit | fa3975425e71cc2cd14152fdb435c85a100cf272 (patch) | |
tree | 909a2946c79d9332d5a3da99807c7f9bb421777d /README.md | |
parent | 42a1e7ec4e8764798cdc934cd31ff9ad715d7751 (diff) | |
parent | d2560e42feafcefc1edfbe57caace8ae1b01ae5f (diff) | |
download | vim-lsp-settings-fa3975425e71cc2cd14152fdb435c85a100cf272.tar.gz vim-lsp-settings-fa3975425e71cc2cd14152fdb435c85a100cf272.tar.bz2 vim-lsp-settings-fa3975425e71cc2cd14152fdb435c85a100cf272.zip |
Merge pull request #189 from mattn/move-servers-dir
Change default servers_dir
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 32 |
1 files changed, 28 insertions, 4 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 @@ -45,8 +45,26 @@ If you use plugin manager that is merging plugins (ex. dein), Please setting st _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. +vim-lsp-settings install Language Servers into: + +#### Windows + +``` +%LOCALAPPDATA%\vim-lsp-settings\servers +``` + +#### Others + +``` +$HOME/.local/share/vim-lsp-settings/servers +``` + +If you define $XDG_DATA_HOME: + +``` +$XDG_DATA_HOME/vim-lsp-settings/servers +``` + You can change the directory to install servers by set `g:lsp_settings_servers_dir` option in full path. ## Usage @@ -56,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 |