Skip to content

Commit

Permalink
docs(kotlin_language_server): Add storage path
Browse files Browse the repository at this point in the history
  • Loading branch information
Glyphack committed Dec 16, 2023
1 parent 7f19def commit 724e7c8
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions lua/lspconfig/server_configurations/kotlin_language_server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ return {
root_dir = util.root_pattern(unpack(root_files)),
cmd = { bin_name },
init_options = {
-- should be the root dir of the project
storagePath = vim.loop.os_homedir(),
},
},
Expand All @@ -43,28 +42,16 @@ return {
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.
]],
default_config = {
root_dir = [[root_pattern("settings.gradle")]],
root_dir = [[See source]],
cmd = { 'kotlin-language-server' },
capabilities = [[
smart code completion,
diagnostics,
hover,
document symbols,
definition lookup,
method signature help,
dependency resolution,
additional plugins from: https://github.com/fwcd
Snipped of License (refer to source for full License):
The MIT License (MIT)
Copyright (c) 2016 George Fraser
Copyright (c) 2018 fwcd
]],
init_options = {
storagePath = vim.loop.os_homedir(),
},
},
},
}

0 comments on commit 724e7c8

Please sign in to comment.