From 883fdc9c3ff5d4acb0c11c65ed6eb001ae0cee23 Mon Sep 17 00:00:00 2001 From: cos Date: Wed, 3 Apr 2019 13:40:41 +0200 Subject: Add vim-lsc command example --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 26467c3..da5f645 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ A Java [language server](https://github.com/Microsoft/vscode-languageserver-prot - Add vim-lsc configuration: ```vimrc let g:lsc_server_commands = {'java': '/java-language-server/dist/mac/bin/launcher --quiet'} + + " example of manual interaction with java-language-server + let classpath_params = {'settings': {'java':{'classPath':[''],'externalDependencies':[]}}} + command ClassPath call lsc#server#userCall("workspace/didChangeConfiguration", classpath_params, {a -> 0}) ``` - See the [vim-lsc README](https://github.com/natebosch/vim-lsc/blob/master/README.md) for other configuration options. -- cgit v1.2.3