summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
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': '<path-to-java-language-server>/java-language-server/dist/mac/bin/launcher --quiet'}
+
+ " example of manual interaction with java-language-server
+ let classpath_params = {'settings': {'java':{'classPath':['<path-to-jar>'],'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.