1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/haskell-tools.lua

25 lines
418 B
Lua
Raw Normal View History

2023-09-22 20:08:11 +02:00
local lspconfig = require("my.plugins.lspconfig")
local M = {
"mrcjkb/haskell-tools.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
},
version = "^2",
ft = { "haskell", "lhaskell", "cabal", "cabalproject" },
}
function M.config()
vim.g.haskell_tools = {
hls = {
on_attach = lspconfig.on_attach,
},
tools = {
hover = {
enable = false,
},
},
}
end
return M