neovim: format using lsp first
This commit is contained in:
parent
d9c450d089
commit
eb3cf5bd91
1 changed files with 4 additions and 1 deletions
|
|
@ -28,8 +28,11 @@ return {
|
||||||
{
|
{
|
||||||
"stevearc/conform.nvim",
|
"stevearc/conform.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
|
format = {
|
||||||
|
lsp_format = "first"
|
||||||
|
},
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
nix = { "nixpkgs-fmt" },
|
nix = { "nixfmt" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue