feat: updated autocmds to make haskell files use two space tabs

This commit is contained in:
Ceferino Patino 2025-07-10 15:37:21 -05:00
commit 72ac4f8089
Signed by: c4patino
SSH key fingerprint: SHA256:9fQ9TsujGrdNNi76mnsu63v7dS5JOmHRZEqBOl49OR8

View file

@ -7,7 +7,7 @@ mkAutocmd("TextYankPost", {
})
mkAutocmd("FileType", {
pattern = { "astro", "javascript", "javascriptreact", "nix", "tex", "typescript", "typescriptreact" },
pattern = { "astro", "haskell", "javascript", "javascriptreact", "nix", "tex", "typescript", "typescriptreact" },
callback = function()
vim.opt_local.tabstop = 2
vim.opt_local.shiftwidth = 2