aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/rome.lua
diff options
context:
space:
mode:
authorOtto Ahoniemi <otto@ottoahoniemi.fi>2022-11-09 13:45:21 +0200
committerGitHub <noreply@github.com>2022-11-09 19:45:21 +0800
commitf56007333c65bc999523e64a31695eb613c7967a (patch)
treea55716823481b107b98d7dc0bf362e0633e2444a /lua/lspconfig/server_configurations/rome.lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-f56007333c65bc999523e64a31695eb613c7967a.tar
nvim-lspconfig-f56007333c65bc999523e64a31695eb613c7967a.tar.gz
nvim-lspconfig-f56007333c65bc999523e64a31695eb613c7967a.tar.bz2
nvim-lspconfig-f56007333c65bc999523e64a31695eb613c7967a.tar.lz
nvim-lspconfig-f56007333c65bc999523e64a31695eb613c7967a.tar.xz
nvim-lspconfig-f56007333c65bc999523e64a31695eb613c7967a.tar.zst
nvim-lspconfig-f56007333c65bc999523e64a31695eb613c7967a.zip
fix(rome): use lsp-proxy cmd (#2236)
Command (see https://docs.rome.tools/cli/#rome-lspproxy) was introduced for better stdin support in rome v10.0.0. Original PR introducing this change: https://github.com/rome/tools/pull/3442 This is a breaking PR and requires users to update rome to version v10.0.0.
Diffstat (limited to 'lua/lspconfig/server_configurations/rome.lua')
-rw-r--r--lua/lspconfig/server_configurations/rome.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lspconfig/server_configurations/rome.lua b/lua/lspconfig/server_configurations/rome.lua
index 075d31ac..1e426a7f 100644
--- a/lua/lspconfig/server_configurations/rome.lua
+++ b/lua/lspconfig/server_configurations/rome.lua
@@ -1,10 +1,10 @@
local util = require 'lspconfig.util'
local bin_name = 'rome'
-local cmd = { bin_name, 'lsp' }
+local cmd = { bin_name, 'lsp-proxy' }
if vim.fn.has 'win32' == 1 then
- cmd = { 'cmd.exe', '/C', bin_name, 'lsp' }
+ cmd = { 'cmd.exe', '/C', bin_name, 'lsp-proxy' }
end
return {