This commit is contained in:
Christian Nieves
2024-12-11 17:13:19 +00:00
parent b3f51ae147
commit d29d3be651
3 changed files with 3 additions and 5 deletions

View File

@ -4,6 +4,7 @@ if use_google() then
return {}
end
vim.g.disable_autoformat = false
vim.api.nvim_create_user_command("FormatDisable", function(args)
if args.bang then
-- FormatDisable! will disable formatting just for this buffer