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 17, 2023
1 parent 29d363c commit 3cec8e8
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions lua/lspconfig/server_configurations/kotlin_language_server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,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 = util.root_pattern(unpack(root_files))(vim.api.nvim_get_current_buf()),
},
},
},
}

0 comments on commit 3cec8e8

Please sign in to comment.