🔧 Added python black formatter
This commit is contained in:
parent
9a24426c01
commit
bad826cccf
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
require("conform").setup({
|
||||
formatters_by_ft = {
|
||||
python = { "isort" },
|
||||
python = { "isort", "black" },
|
||||
lua = { "stylua" },
|
||||
css = { "stylelint" },
|
||||
javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||
|
|
|
|||
|
|
@ -564,3 +564,5 @@ Install isort and stylelint
|
|||
doas pacman -S python-isort stylelint
|
||||
Install sql-formatter
|
||||
paru sql-formatter
|
||||
Install black (python formatter)
|
||||
doas pacman -S python-black
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue