mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +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",
|
"mfussenegger/nvim-dap",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
|
@ -132,13 +127,22 @@ return {
|
||||||
haskell = { "hlint" },
|
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
|
-- as it conflicts with haskell-tools
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
|
servers = {
|
||||||
|
hls = {},
|
||||||
|
},
|
||||||
setup = {
|
setup = {
|
||||||
hls = function()
|
hls = function()
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue