nvim: add prettier formating to conform for html and css
This commit is contained in:
parent
d9e21b23bd
commit
c75f696013
2 changed files with 5 additions and 2 deletions
|
@ -106,7 +106,9 @@ cmp.setup {
|
|||
-- Funky plugins
|
||||
require("conform").setup({
|
||||
formatters_by_ft = {
|
||||
python = { "isort", "black" },
|
||||
css = { "prettier", },
|
||||
html = { "prettier", },
|
||||
python = { "black" },
|
||||
},
|
||||
format_on_save = {
|
||||
timeout_ms = 500,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue