mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 04:21:08 +00:00
fix(haskell): prevent mason-lspconfig from starting hls
This commit is contained in:
parent
7c1301b895
commit
dbba6e31f8
1 changed files with 10 additions and 6 deletions
|
|
@ -50,11 +50,6 @@ return {
|
|||
},
|
||||
},
|
||||
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
opts = { ensure_installed = { "haskell-language-server" } },
|
||||
},
|
||||
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
optional = true,
|
||||
|
|
@ -132,13 +127,22 @@ return {
|
|||
haskell = { "hlint" },
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
{
|
||||
"mason-org/mason.nvim",
|
||||
opts = { ensure_installed = { "hlint" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- Make sure lspconfig doesn't start hls,
|
||||
-- Make sure neither lspconfig nor mason-lspconfig starts hls,
|
||||
-- as it conflicts with haskell-tools
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
hls = {},
|
||||
},
|
||||
setup = {
|
||||
hls = function()
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue