diff --git a/lua/config/format.lua b/lua/config/format.lua index a995a0f..1bac0d1 100644 --- a/lua/config/format.lua +++ b/lua/config/format.lua @@ -9,5 +9,6 @@ require('nvim-format-buffer').setup({ return 'prettier --stdin-filepath ' .. vim.api.nvim_buf_get_name(0) end, }, + { pattern = { "*.sql" }, command = "pg_format --spaces=2 --wrap-limit=78 --no-rcfile" } }, })