]> Sergey Matveev's repositories - vim-lsp.git/commit
Provide LSP server initializationOptions support
authorAndrei Tihonovschi <andrew@bw.at.home>
Thu, 29 Sep 2022 09:43:47 +0000 (12:43 +0300)
committerAndrei Tihonovschi <andrew@bw.at.home>
Thu, 29 Sep 2022 09:43:47 +0000 (12:43 +0300)
commitcf33cd46be6e32c1f32dd82d548cd6bba169eb81
tree88676221f9f4fadf8d0b3954a54009e1aebf891e
parenta7d8eda99b13b6843a16ab21e1f149b45d3300e7
Provide LSP server initializationOptions support

This is to add support for LSP server initializationOptions.
For me it was important to allow transmission of the licenseKey to the
intelephense PHP language server, however it is a standard field and
other servers configurations may require these too.

Some of configurations are (or may be) expected to be determined by the
editor ('LSP client') however this should require individual per-server
'wrappers' or something similar.

* Add 'initializationOptions' as LSP server configuration option.
* Check if 'initializationOptions' are not empty and if so transmit
  these to the LSP server
* Updated README.md
* Updated plugin documentation
README.md
autoload/lsp/lsp.vim
autoload/lsp/lspserver.vim
doc/lsp.txt