Sun, 05 Mar 2023 18:47:45 -0500
Add format-on-write for elixir and go
" mjibson/sqlfmt - only does cockroachdb dialect " this kinda sucks as far as placeholders and can't pass through odd syntax " let &l:equalprg = "sqlfmt --use-spaces --tab-width " . &shiftwidth " augroup SQLFMT_ERR " au! * <buffer> " autocmd ShellFilterPost <buffer> if v:shell_error | undo | endif " augroup END " cpanm https://github.com/darold/pgFormatter.git let &l:equalprg = "pg_format -" let &l:omnifunc = "syntaxcomplete#Complete"