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

Mon, 27 Feb 2023 09:54:21 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 27 Feb 2023 09:54:21 -0600
changeset 1052
1ff243e9e6ca
parent 1029
9265f8508e4c
child 1125
58490a30d6fb
permissions
-rw-r--r--

drop ginit.vim (its not standard for nvim)

" 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"

mercurial