nvim: formatting

master
tiyn 1 year ago
parent 5ec85d22ad
commit 0accd779b2

@ -6,7 +6,7 @@ return {
formatters_by_ft = { formatters_by_ft = {
python = { "isort", "black" }, python = { "isort", "black" },
markdown = { "mdformat" }, markdown = { "mdformat" },
}, }
} }
} }
} }

@ -12,7 +12,7 @@ return {
require("null-ls").builtins.formatting.isort, require("null-ls").builtins.formatting.isort,
require("null-ls").builtins.formatting.black, require("null-ls").builtins.formatting.black,
-- markdown -- markdown
require("null-ls").builtins.formatting.mdformat require("null-ls").builtins.formatting.mdformat,
} }
}) })
end end
@ -21,15 +21,12 @@ return {
'jay-babu/mason-null-ls.nvim', 'jay-babu/mason-null-ls.nvim',
opts = { opts = {
automatic_installation = true, automatic_installation = true,
ensure_installed = { "isort", "black", "mdformat" } ensure_installed = {
"isort", "black", "mdformat"
}
} }
},
},
opts = {
ui = {
icons = Install_signs
} }
} },
opts = { ui = { icons = Install_signs } }
} }
} }

Loading…
Cancel
Save