Add pg_format

This commit is contained in:
Jan Hamal Dvořák 2024-08-06 18:04:02 +02:00
parent 2bf8852c9e
commit 20f8fe24bf

View file

@ -9,5 +9,6 @@ require('nvim-format-buffer').setup({
return 'prettier --stdin-filepath ' .. vim.api.nvim_buf_get_name(0) return 'prettier --stdin-filepath ' .. vim.api.nvim_buf_get_name(0)
end, end,
}, },
{ pattern = { "*.sql" }, command = "pg_format --spaces=2 --wrap-limit=78 --no-rcfile" }
}, },
}) })