aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-27 12:11:58 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-27 12:11:58 +0900
commit6527db6734a730842f4d2cdf8dd5d8c1a2596d1a (patch)
tree42c9c9335e4af1450474ce3d8651aa7f390d32aa /README.md
parent2b2cc38c2dc2f21321c8f99d25645735bb2db72e (diff)
parent0d0827debc115f214b69621bb63e27b18dce2b4e (diff)
downloadvim-lsp-settings-6527db6734a730842f4d2cdf8dd5d8c1a2596d1a.tar.gz
vim-lsp-settings-6527db6734a730842f4d2cdf8dd5d8c1a2596d1a.tar.bz2
vim-lsp-settings-6527db6734a730842f4d2cdf8dd5d8c1a2596d1a.zip
Merge branch 'master' into efm
Diffstat (limited to 'README.md')
-rw-r--r--README.md58
1 files changed, 39 insertions, 19 deletions
diff --git a/README.md b/README.md
index 5d311b9..c07c9f0 100644
--- a/README.md
+++ b/README.md
@@ -32,25 +32,6 @@ You can change the directory to install servers by set `g:lsp_settings_servers_d
## Usage
-If you install clangd already, you can use clangd for C/C++ without configurations. But if you install clang with named clangd-6.0, you can replace executable like below:
-
-```vim
-let g:lsp_settings = {
-\ 'clangd': {'cmd': ['clangd-6.0']}
-\}
-```
-
-Overridable keys are:
-
-* cmd (List ex: `['clangd-6.0', '-enable-snippets']`)
-* initialization_options (Dictionary)
-* whitelist (List)
-* blacklist (List)
-* config (Dictionary)
-* workspace_config (Dictionary)
-
-If you install ruby but not solargraph, you can install solargraph with following command.
-
```
:LspInstallServer
```
@@ -126,6 +107,45 @@ Finally, you have to install `@playlyfe/gql` into your project.
$ npm install @playlyfe/gql --save-dev
```
+## Configurations
+
+Most of configurations are not required.
+
+If you install clangd already, you can use clangd for C/C++ without configurations. But if you install clang with named clangd-6.0, you can replace executable like below:
+
+```vim
+let g:lsp_settings = {
+\ 'clangd': {'cmd': ['clangd-6.0']}
+\}
+```
+
+Overridable keys are:
+
+* cmd (List ex: `['clangd-6.0', '-enable-snippets']`)
+* initialization_options (Dictionary)
+* whitelist (List)
+* blacklist (List)
+* config (Dictionary)
+* workspace_config (Dictionary)
+
+If you install ruby but not solargraph, you can install solargraph with following command.
+
+If you have some Language Servers and want to use specified the server:
+
+```vim
+let g:lsp_settings_perl = 'slp'
+```
+
+If you want to disable Language Server:
+
+```vim
+let g:lsp_settings = {
+\ 'perl-languageserver': {
+\ 'disabled': 0,
+\ }
+\}
+```
+
## License
MIT