diff options
| author | William Boman <william@redwill.se> | 2021-07-04 22:45:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-04 22:45:26 +0200 |
| commit | d0e0f6812c8f0689315212406e5433eb70b9639a (patch) | |
| tree | 4d674419fdc485889b3cb1139ed3b80e8155e662 /lua/nvim-lsp-installer/servers/hls/init.lua | |
| parent | add fortls (fortan) (#32) (diff) | |
| download | mason-d0e0f6812c8f0689315212406e5433eb70b9639a.tar mason-d0e0f6812c8f0689315212406e5433eb70b9639a.tar.gz mason-d0e0f6812c8f0689315212406e5433eb70b9639a.tar.bz2 mason-d0e0f6812c8f0689315212406e5433eb70b9639a.tar.lz mason-d0e0f6812c8f0689315212406e5433eb70b9639a.tar.xz mason-d0e0f6812c8f0689315212406e5433eb70b9639a.tar.zst mason-d0e0f6812c8f0689315212406e5433eb70b9639a.zip | |
add hls (haskell) (#33)
Diffstat (limited to 'lua/nvim-lsp-installer/servers/hls/init.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/servers/hls/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/nvim-lsp-installer/servers/hls/init.lua b/lua/nvim-lsp-installer/servers/hls/init.lua new file mode 100644 index 00000000..1629fd47 --- /dev/null +++ b/lua/nvim-lsp-installer/servers/hls/init.lua @@ -0,0 +1,14 @@ +local server = require("nvim-lsp-installer.server") +local path = require("nvim-lsp-installer.path") +local zx = require("nvim-lsp-installer.installers.zx") + +local root_dir = server.get_server_root_path("haskell") + +return server.Server:new { + name = "hls", + root_dir = root_dir, + installer = zx.file("./install.mjs"), + default_options = { + cmd = { path.concat { root_dir, "hls" }, "--lsp" }, + }, +} |
