fix: conform config
This commit is contained in:
parent
3499df1856
commit
93b88548c2
1 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue