chg: Add lsp and ts config for Haskell

This commit is contained in:
Sayantan Santra 2024-05-18 17:17:52 -05:00
parent 7513bfa9d2
commit c4f2a54062
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F
2 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,8 @@ lspconfig.lua_ls.setup({
lspconfig.ocamllsp.setup {}
lspconfig.hls.setup {}
-- Set ;k to hover and ;a to show code actions
vim.api.nvim_create_autocmd("LspAttach", {
callback = function()

View file

@ -3,7 +3,7 @@ local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "rust", "lua", "vim", "vimdoc", "ocaml",
"yaml", "dockerfile", "bash", "html", "javascript", "css", "go",
"json", "python", "fish" },
"json", "python", "fish", "haskell" },
sync_install = false,
disable = { "latex" },
highlight = {