Skip to content

Commit

Permalink
fix(haskell): remove now redundant discover_configurations call (#570)
Browse files Browse the repository at this point in the history
fix(haskell): remove now redundant discover_configurations call

- Since version 2.1.0, haskell-tools.nvim calls this automatically
if both `nvim-dap` and `haskell-debug-adapter` are installed.
  • Loading branch information
mrcjkb authored Sep 10, 2023
1 parent 6f1a4b5 commit 59df499
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lua/astrocommunity/pack/haskell/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ return {
astronvim.lsp.skip_setup = utils.list_insert_unique(astronvim.lsp.skip_setup, "hls")
vim.g.haskell_tools = {
hls = {
on_attach = function(client, bufnr, ht)
require("astronvim.utils.lsp").on_attach(client, bufnr)
ht.dap.discover_configurations(bufnr)
end,
on_attach = function(client, bufnr, _) require("astronvim.utils.lsp").on_attach(client, bufnr) end,
},
}
end,
Expand Down

0 comments on commit 59df499

Please sign in to comment.