diff options
Diffstat (limited to 'lua/nvim-lsp-installer/servers/kotlin_language_server/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/kotlin_language_server/init.lua | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lua/nvim-lsp-installer/servers/kotlin_language_server/init.lua b/lua/nvim-lsp-installer/servers/kotlin_language_server/init.lua index 0000917b..2d70c2b3 100644 --- a/lua/nvim-lsp-installer/servers/kotlin_language_server/init.lua +++ b/lua/nvim-lsp-installer/servers/kotlin_language_server/init.lua @@ -1,5 +1,5 @@ local server = require "nvim-lsp-installer.server" -local platform = require "nvim-lsp-installer.platform" +local process = require "nvim-lsp-installer.process" local path = require "nvim-lsp-installer.path" local std = require "nvim-lsp-installer.installers.std" local context = require "nvim-lsp-installer.installers.context" @@ -17,12 +17,13 @@ return function(name, root_dir) end), }, default_options = { - cmd = { - path.concat { - root_dir, - "server", - "bin", - platform.is_win and "kotlin-language-server.bat" or "kotlin-language-server", + cmd_env = { + PATH = process.extend_path { + path.concat { + root_dir, + "server", + "bin", + }, }, }, }, |
