From 93b88548c2216b4d3ce28d646150be3030d00ec4 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Tue, 23 Jul 2024 21:48:11 +0200 Subject: [PATCH] fix: conform config --- common/nvim/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/nvim/init.lua b/common/nvim/init.lua index 2936bfa..b0e96dc 100644 --- a/common/nvim/init.lua +++ b/common/nvim/init.lua @@ -576,16 +576,16 @@ require("lazy").setup({ notify_on_error = false, format_on_save = { timeout_ms = 500, - lsp_fallback = true, + lsp_format = "fallback", }, formatters_by_ft = { lua = { "stylua" }, -- Conform can also run multiple formatters sequentially python = { "black" }, - go = { "gopls" }, + go = { "gofmt" }, - nix = { "rnix", "nixpkgs-fmt" }, + nix = { "nixpkgs_fmt" }, -- -- You can use a sub-list to tell conform to run *until* a formatter -- is found.