diff --git a/module/common/Nvim.nix b/module/common/Nvim.nix index fae7a54..4d7a369 100644 --- a/module/common/Nvim.nix +++ b/module/common/Nvim.nix @@ -48,8 +48,6 @@ in { "config/Search.lua" "config/Tab.lua" "plugin/Filetree.lua" - "plugin/lsp/Rust.lua" - "plugin/lsp/Tex.lua" "plugin/Gruvbox.lua" "plugin/Bufferline.lua" "plugin/Lualine.lua" @@ -65,6 +63,9 @@ in { "plugin/Treesitter.lua" "plugin/Fold.lua" "plugin/Ollama.lua" + "plugin/lsp/Haskell.lua" + "plugin/lsp/Rust.lua" + "plugin/lsp/Tex.lua" "key/Autocomplete.lua" "key/Buffer.lua" "key/Colorscheme.lua" diff --git a/module/common/nvim/plugin/lsp/Haskell.lua b/module/common/nvim/plugin/lsp/Haskell.lua new file mode 100644 index 0000000..fdab951 --- /dev/null +++ b/module/common/nvim/plugin/lsp/Haskell.lua @@ -0,0 +1,5 @@ +local lspconfig = require("lspconfig") + +lspconfig.hls.setup { + filetypes = { 'haskell', 'lhaskell', 'cabal' }, +}