Set up haskell-tools.nvim
This commit is contained in:
parent
c8d7224dc9
commit
346d1b78d9
10 changed files with 128 additions and 95 deletions
dotfiles/neovim/lua/my/plugins
24
dotfiles/neovim/lua/my/plugins/haskell-tools.lua
Normal file
24
dotfiles/neovim/lua/my/plugins/haskell-tools.lua
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue