aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-lspconfig/server_configurations/rescriptls/init.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-07-13 00:56:26 +0200
committerGitHub <noreply@github.com>2022-07-13 00:56:26 +0200
commitca2385a3d2d7ccf0256c415f4b3d5daf0777c876 (patch)
treeb02a1fa88a1a6a77675c681912833efcce49682e /lua/mason-lspconfig/server_configurations/rescriptls/init.lua
parentchore(issue_template): make DEBUG log level request clearer (#62) (diff)
downloadmason-ca2385a3d2d7ccf0256c415f4b3d5daf0777c876.tar
mason-ca2385a3d2d7ccf0256c415f4b3d5daf0777c876.tar.gz
mason-ca2385a3d2d7ccf0256c415f4b3d5daf0777c876.tar.bz2
mason-ca2385a3d2d7ccf0256c415f4b3d5daf0777c876.tar.lz
mason-ca2385a3d2d7ccf0256c415f4b3d5daf0777c876.tar.xz
mason-ca2385a3d2d7ccf0256c415f4b3d5daf0777c876.tar.zst
mason-ca2385a3d2d7ccf0256c415f4b3d5daf0777c876.zip
feat: add more wrapper executables for packages that don't provide one (#63)
Diffstat (limited to 'lua/mason-lspconfig/server_configurations/rescriptls/init.lua')
-rw-r--r--lua/mason-lspconfig/server_configurations/rescriptls/init.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/mason-lspconfig/server_configurations/rescriptls/init.lua b/lua/mason-lspconfig/server_configurations/rescriptls/init.lua
index 4a605bbf..2f55cc30 100644
--- a/lua/mason-lspconfig/server_configurations/rescriptls/init.lua
+++ b/lua/mason-lspconfig/server_configurations/rescriptls/init.lua
@@ -1,8 +1,5 @@
-local path = require "mason-core.path"
-
----@param install_dir string
-return function(install_dir)
+return function()
return {
- cmd = { "node", path.concat { install_dir, "extension", "server", "out", "server.js" }, "--stdio" },
+ cmd = { "rescript-lsp", "--stdio" },
}
end