chg: Add lsp and ts config for Haskell
This commit is contained in:
parent
7513bfa9d2
commit
c4f2a54062
2 changed files with 3 additions and 1 deletions
|
@ -21,6 +21,8 @@ lspconfig.lua_ls.setup({
|
||||||
|
|
||||||
lspconfig.ocamllsp.setup {}
|
lspconfig.ocamllsp.setup {}
|
||||||
|
|
||||||
|
lspconfig.hls.setup {}
|
||||||
|
|
||||||
-- Set ;k to hover and ;a to show code actions
|
-- Set ;k to hover and ;a to show code actions
|
||||||
vim.api.nvim_create_autocmd("LspAttach", {
|
vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
callback = function()
|
callback = function()
|
||||||
|
|
|
@ -3,7 +3,7 @@ local configs = require("nvim-treesitter.configs")
|
||||||
configs.setup({
|
configs.setup({
|
||||||
ensure_installed = { "rust", "lua", "vim", "vimdoc", "ocaml",
|
ensure_installed = { "rust", "lua", "vim", "vimdoc", "ocaml",
|
||||||
"yaml", "dockerfile", "bash", "html", "javascript", "css", "go",
|
"yaml", "dockerfile", "bash", "html", "javascript", "css", "go",
|
||||||
"json", "python", "fish" },
|
"json", "python", "fish", "haskell" },
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
disable = { "latex" },
|
disable = { "latex" },
|
||||||
highlight = {
|
highlight = {
|
||||||
|
|
Loading…
Reference in a new issue