fix(conform): missed how to declare the raw callback function

This commit is contained in:
chloe 2025-07-02 20:18:44 +02:00
parent 7a388c77fa
commit f78d1ebe16

View file

@ -23,17 +23,19 @@
autoCmd = [
{
callback = ''
callback = {
__raw = ''
function(args)
require("conform").format({ bufnr = args.buf })
end
'';
};
event = [ "BufWritePre" ];
pattern = [
"*"
];
desc = "autoformatting on save";
desc = "Format on save";
}
];
}