autoinstall formatters and automatting
This commit is contained in:
parent
743c03a1b6
commit
b290445c7a
7 changed files with 39 additions and 10 deletions
13
lua/custom/plugins/conform.lua
Normal file
13
lua/custom/plugins/conform.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
'stevearc/conform.nvim',
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
python = { "isort", "black" },
|
||||
},
|
||||
format_on_save = {
|
||||
timeout_ms = 500,
|
||||
lsp_fallback = true,
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue