1
Fork 0

Set up haskell-tools.nvim

This commit is contained in:
Matei Adriel 2023-09-22 21:08:11 +03:00
commit 346d1b78d9
No known key found for this signature in database
10 changed files with 128 additions and 95 deletions
dotfiles/neovim/lua/my/plugins

View file

@ -0,0 +1,24 @@
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