aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-25 10:13:01 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-25 10:13:01 +0900
commit20a2b3d7dcd0e92ec48d39aba78eb12414013efc (patch)
tree50033905bc27b2af592a757248e6767f5eeb1530
parent06c5330a7087f80b9a4821912b46bb94defd7fa8 (diff)
downloadvim-lsp-settings-20a2b3d7dcd0e92ec48d39aba78eb12414013efc.tar.gz
vim-lsp-settings-20a2b3d7dcd0e92ec48d39aba78eb12414013efc.tar.bz2
vim-lsp-settings-20a2b3d7dcd0e92ec48d39aba78eb12414013efc.zip
Update 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