aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-21 10:55:03 -0800
committerGitHub <noreply@github.com>2019-11-21 10:55:03 -0800
commit05bf8ff7b7579e69d2178684770c49a30796e043 (patch)
tree9fb44c71f83ec542516ef1b135589705b65ca0dc /scripts
parentRemove -o pipefail for dash compatibility (diff)
downloadnvim-lspconfig-05bf8ff7b7579e69d2178684770c49a30796e043.tar
nvim-lspconfig-05bf8ff7b7579e69d2178684770c49a30796e043.tar.gz
nvim-lspconfig-05bf8ff7b7579e69d2178684770c49a30796e043.tar.bz2
nvim-lspconfig-05bf8ff7b7579e69d2178684770c49a30796e043.tar.lz
nvim-lspconfig-05bf8ff7b7579e69d2178684770c49a30796e043.tar.xz
nvim-lspconfig-05bf8ff7b7579e69d2178684770c49a30796e043.tar.zst
nvim-lspconfig-05bf8ff7b7579e69d2178684770c49a30796e043.zip
Add workspace/didChangeConfiguration support. (#30)
- Add client.workspace_did_change_configuration() - Notify settings on init.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/README_template.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/README_template.md b/scripts/README_template.md
index b7dfca0a..8b11e482 100644
--- a/scripts/README_template.md
+++ b/scripts/README_template.md
@@ -151,7 +151,11 @@ nvim_lsp.SERVER.setup({config})
{settings}
This is a table, and the keys are case sensitive. This is for the
- window/configuration event responses.
+ `workspace/configuration` event responses.
+ We also notify the server *once* on `initialize` with
+ `workspace/didChangeConfiguration`.
+ If you change the settings later on, you should send the notification
+ yourself with `client.workspace_did_change_configuration({settings})`
Example: `settings = { keyName = { subKey = 1 } }`
{on_attach}