From 6d7de1463bc531ca4c2dec8f8075810d01c1f218 Mon Sep 17 00:00:00 2001 From: Vadim Lazebny Date: Tue, 21 May 2024 09:42:56 +0300 Subject: [PATCH] Note about jvm-target on kotlin LSP --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 291d8b8b..885c926a 100644 --- a/README.md +++ b/README.md @@ -313,6 +313,21 @@ To use older version `golangci-lint`, please run `:LspSettingsGlobalEdit` and pu } ``` +### [kotlin-language-server](https://github.com/fwcd/kotlin-language-server) + +To resolve issue about proper '-jvm-target' (INLINE_FROM_HIGHER_PLATFORM) [read +more](https://github.com/fwcd/kotlin-language-server/issues/72) + +```vim +let g:lsp_settings = { +\ 'kotlin-language-server': { +\ 'workspace_config': { +\ 'kotlin': {'compiler': {'jvm': {'target': '17'}}} +\ } +\ } +\} +``` + ### [rubocop lsp mode (Ruby)](https://docs.rubocop.org/rubocop/usage/lsp.html) To use rubocop-lsp-mode, you need to install rubocop in your Ruby project using bundler.