Skip to content

Configure LSP command through vim.lsp.config #481

@sjcobb2022

Description

@sjcobb2022

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions