aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-12-17 09:25:46 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-12-17 09:25:46 +0000
commite50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc (patch)
tree730e89ad2295b1200f1b1eb9aa07bfe38eb0dc22
parentfeat(kotlin_language_server): Add storagePath to initilaztion options (#2930) (diff)
downloadnvim-lspconfig-e50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc.tar
nvim-lspconfig-e50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc.tar.gz
nvim-lspconfig-e50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc.tar.bz2
nvim-lspconfig-e50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc.tar.lz
nvim-lspconfig-e50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc.tar.xz
nvim-lspconfig-e50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc.tar.zst
nvim-lspconfig-e50a8fcd6267cb9b2d2a880dcf3a8ac113b75abc.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md11
-rw-r--r--doc/server_configurations.txt11
2 files changed, 20 insertions, 2 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index f84568b3..9a2524db 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -5256,6 +5256,9 @@ require'lspconfig'.julials.setup{}
You could refer for this capability to:
https://github.com/udalov/kotlin-vim (recommended)
Note that there is no LICENSE specified yet.
+
+ For faster startup, you can setup caching by specifying a storagePath
+ in the init_options. The default is your home directory.
@@ -5274,9 +5277,15 @@ require'lspconfig'.kotlin_language_server.setup{}
```lua
{ "kotlin" }
```
+ - `init_options` :
+ ```lua
+ {
+ storagePath = "Enables caching and use project root to store cache data. See source"
+ }
+ ```
- `root_dir` :
```lua
- root_pattern("settings.gradle")
+ See source
```
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index f84568b3..9a2524db 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -5256,6 +5256,9 @@ require'lspconfig'.julials.setup{}
You could refer for this capability to:
https://github.com/udalov/kotlin-vim (recommended)
Note that there is no LICENSE specified yet.
+
+ For faster startup, you can setup caching by specifying a storagePath
+ in the init_options. The default is your home directory.
@@ -5274,9 +5277,15 @@ require'lspconfig'.kotlin_language_server.setup{}
```lua
{ "kotlin" }
```
+ - `init_options` :
+ ```lua
+ {
+ storagePath = "Enables caching and use project root to store cache data. See source"
+ }
+ ```
- `root_dir` :
```lua
- root_pattern("settings.gradle")
+ See source
```