fix(lang.haskell): prevent Haskell extras from installing telescope.nvim

Installing the Haskell extras currently installs telescope.nvim as well,
since the dependency is not marked optional. This marks it optional so
telescope.nvim is no longer pulled in automatically.
This commit is contained in:
Christoph Schmidpeter 2025-09-14 23:25:58 +02:00
parent 25abbf546d
commit bdf775da65

View file

@ -70,7 +70,7 @@ return {
"luc-tielen/telescope_hoogle",
ft = { "haskell", "lhaskell", "cabal", "cabalproject" },
dependencies = {
{ "nvim-telescope/telescope.nvim" },
{ "nvim-telescope/telescope.nvim", optional = true },
},
config = function()
local ok, telescope = pcall(require, "telescope")