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

Thu, 11 Apr 2024 13:19:32 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 11 Apr 2024 13:19:32 -0400
changeset 1146
2c9d3c1940a4
parent 1125
58490a30d6fb
child 1163
40367220022e
permissions
-rw-r--r--

Add catlee/pull_diags.nvim

" 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