Feature description
Currently if one does not provide a cmd to vim.g.haskell_tools.hls.cmd HLS does not auto start.
I do not have haskell-language-server in my PATH (nixos) but I have configured it via vim.lsp.config.
I assumed given the phrasing in the README, I could set up HLS purely through vim.lsp.config including commands.
I believe https://github.com/mrcjkb/haskell-tools.nvim/blob/76e286150ef2c6e4d8ff479bbf026067f3c90b3f/lua/haskell-tools/config/internal.lua#L116C4-L126C17 should be updated to reflect what is configured in vim.lsp.config as well. This is already done in
|
Hls.start = function(bufnr) |
Feature description
Currently if one does not provide a cmd to
vim.g.haskell_tools.hls.cmdHLS does not auto start.I do not have haskell-language-server in my PATH (nixos) but I have configured it via vim.lsp.config.
I assumed given the phrasing in the README, I could set up HLS purely through vim.lsp.config including commands.
I believe https://github.com/mrcjkb/haskell-tools.nvim/blob/76e286150ef2c6e4d8ff479bbf026067f3c90b3f/lua/haskell-tools/config/internal.lua#L116C4-L126C17 should be updated to reflect what is configured in vim.lsp.config as well. This is already done in
haskell-tools.nvim/lua/haskell-tools/lsp/init.lua
Line 110 in 76e2861