Nvim : Add Haskell lsp.

This commit is contained in:
Dmitry Voronin 2024-03-12 21:17:09 +03:00
parent 176c458e2b
commit 9ad7ff4701
2 changed files with 8 additions and 2 deletions

View file

@ -48,8 +48,6 @@ in {
"config/Search.lua" "config/Search.lua"
"config/Tab.lua" "config/Tab.lua"
"plugin/Filetree.lua" "plugin/Filetree.lua"
"plugin/lsp/Rust.lua"
"plugin/lsp/Tex.lua"
"plugin/Gruvbox.lua" "plugin/Gruvbox.lua"
"plugin/Bufferline.lua" "plugin/Bufferline.lua"
"plugin/Lualine.lua" "plugin/Lualine.lua"
@ -65,6 +63,9 @@ in {
"plugin/Treesitter.lua" "plugin/Treesitter.lua"
"plugin/Fold.lua" "plugin/Fold.lua"
"plugin/Ollama.lua" "plugin/Ollama.lua"
"plugin/lsp/Haskell.lua"
"plugin/lsp/Rust.lua"
"plugin/lsp/Tex.lua"
"key/Autocomplete.lua" "key/Autocomplete.lua"
"key/Buffer.lua" "key/Buffer.lua"
"key/Colorscheme.lua" "key/Colorscheme.lua"

View file

@ -0,0 +1,5 @@
local lspconfig = require("lspconfig")
lspconfig.hls.setup {
filetypes = { 'haskell', 'lhaskell', 'cabal' },
}