.config/nvim/after/ftplugin/sql.vim

Thu, 06 Feb 2025 00:20:33 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 06 Feb 2025 00:20:33 -0600
changeset 1187
ed422782cd13
parent 1163
40367220022e
permissions
-rw-r--r--

Clean up lazy-bootstrap

" mjibson/sqlfmt - only does cockroachdb dialect
" this kinda sucks as far as placeholders and can't pass through odd syntax

" let &l:formatprg = "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:formatprg = "pg_format -"
let &l:omnifunc = "syntaxcomplete#Complete"

mercurial