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,
|
notify_on_error = false,
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
lsp_fallback = true,
|
lsp_format = "fallback",
|
||||||
},
|
},
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
-- Conform can also run multiple formatters sequentially
|
-- Conform can also run multiple formatters sequentially
|
||||||
python = { "black" },
|
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
|
-- You can use a sub-list to tell conform to run *until* a formatter
|
||||||
-- is found.
|
-- is found.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue