mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(lang/haskell): Better way to disable nvim-lspconfig
Starting with v6.2.1 haskell-tools.nvim had issues to calculate the correct count of attached clients (result was always 0). This broke the state machine which decides which commands to allow (`Hls start` vs. `Hls restart` and `Hls stop`). This is fixed by disabling the HLS server setup in nvim-lspconfig. Morally, the intention of the code hasn't changed. However, this way of disabling HLS solves the mentioned issue.
This commit is contained in:
parent
c64a61734f
commit
d15e8c3294
1 changed files with 1 additions and 5 deletions
|
|
@ -139,11 +139,7 @@ return {
|
|||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
setup = {
|
||||
hls = function()
|
||||
return true
|
||||
end,
|
||||
},
|
||||
servers = { hls = { enabled = false } },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue