diff options
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/nvim/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua index bbc76a2..af58451 100644 --- a/dotfiles/nvim/init.lua +++ b/dotfiles/nvim/init.lua @@ -693,13 +693,12 @@ require('lazy').setup({ 'stevearc/conform.nvim', opts = { notify_on_error = false, - format_on_save = function(bufnr) + format_after_save = function(bufnr) -- Disable "format_on_save lsp_fallback" for languages that don't -- have a well standardized coding style. You can add additional -- languages here or re-enable it for the disabled ones. local disable_filetypes = { c = true, cpp = true } return { - timeout_ms = 500, lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype], } end, @@ -712,6 +711,7 @@ require('lazy').setup({ -- is found. -- javascript = { { "prettierd", "prettier" } }, go = { "goimports", "gofmt" }, + haskell = { 'ormolu' }, }, }, }, |