diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2024-10-24 09:36:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-24 09:36:22 -0700 |
| commit | 5fd8b5608121d29919830e42a00ccddd9f31dadd (patch) | |
| tree | 57760ca88941d16003f4950da29e4d54961dda58 /lua/lspconfig/configs/kotlin_language_server.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-5fd8b5608121d29919830e42a00ccddd9f31dadd.tar nvim-lspconfig-5fd8b5608121d29919830e42a00ccddd9f31dadd.tar.gz nvim-lspconfig-5fd8b5608121d29919830e42a00ccddd9f31dadd.tar.bz2 nvim-lspconfig-5fd8b5608121d29919830e42a00ccddd9f31dadd.tar.lz nvim-lspconfig-5fd8b5608121d29919830e42a00ccddd9f31dadd.tar.xz nvim-lspconfig-5fd8b5608121d29919830e42a00ccddd9f31dadd.tar.zst nvim-lspconfig-5fd8b5608121d29919830e42a00ccddd9f31dadd.zip | |
refactor(docs): drop redundant default_config #3398
Problem:
default_config duplicated in `docs` items.
Solution:
delete it. docgen autogenerates this now.
Diffstat (limited to 'lua/lspconfig/configs/kotlin_language_server.lua')
| -rw-r--r-- | lua/lspconfig/configs/kotlin_language_server.lua | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lua/lspconfig/configs/kotlin_language_server.lua b/lua/lspconfig/configs/kotlin_language_server.lua index a151403a..04ce396e 100644 --- a/lua/lspconfig/configs/kotlin_language_server.lua +++ b/lua/lspconfig/configs/kotlin_language_server.lua @@ -23,8 +23,9 @@ return { default_config = { filetypes = { 'kotlin' }, root_dir = util.root_pattern(unpack(root_files)), - cmd = { bin_name }, + cmd = { bin_name }, -- kotlin-language-server init_options = { + -- Enables caching and use project root to store cache data. storagePath = util.root_pattern(unpack(root_files))(vim.fn.expand '%:p:h'), }, }, @@ -46,12 +47,5 @@ return { 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 = [[See source]], - cmd = { 'kotlin-language-server' }, - init_options = { - storagePath = [[Enables caching and use project root to store cache data. See source]], - }, - }, }, } |
