diff options
| author | William Boman <william@redwill.se> | 2022-07-13 00:56:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-13 00:56:26 +0200 |
| commit | ca2385a3d2d7ccf0256c415f4b3d5daf0777c876 (patch) | |
| tree | b02a1fa88a1a6a77675c681912833efcce49682e /lua/mason-lspconfig/server_configurations/rescriptls | |
| parent | chore(issue_template): make DEBUG log level request clearer (#62) (diff) | |
| download | mason-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')
| -rw-r--r-- | lua/mason-lspconfig/server_configurations/rescriptls/init.lua | 7 |
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 |
