1028:77e65ab97892 | 1029:9265f8508e4c |
---|---|
1 " mjibson/sqlfmt - only does cockroachdb dialect | |
2 " this kinda sucks as far as placeholders and can't pass through odd syntax | |
3 | |
4 " let &l:equalprg = "sqlfmt --use-spaces --tab-width " . &shiftwidth | |
5 " augroup SQLFMT_ERR | |
6 " au! * <buffer> | |
7 " autocmd ShellFilterPost <buffer> if v:shell_error | undo | endif | |
8 " augroup END | |
9 | |
10 " cpanm https://github.com/darold/pgFormatter.git | |
11 let &l:equalprg = "pg_format -" | |
12 let &l:omnifunc = "syntaxcomplete#Complete" |