Add blank lines to djlint
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
return {
|
||||
"stevearc/conform.nvim",
|
||||
config = function()
|
||||
require("conform").setup {
|
||||
local conform = require("conform")
|
||||
|
||||
conform.setup {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
python = { "isort", "black", lsp_format = "fallback" },
|
||||
@@ -12,5 +14,9 @@ return {
|
||||
lsp_format = "fallback"
|
||||
}
|
||||
}
|
||||
|
||||
conform.formatters.djlint = {
|
||||
append_args = { "--max-blank-lines", "5" }
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user