Wed, 25 Sep 2024 15:03:13 -0500
No LSP autostart when read-only
I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.
911 | 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 -" | |
913
72d72bafaf0f
try harder to block the sqlcomplete omni
Meredith Howard <mhoward@roomag.org>
parents:
911
diff
changeset
|
12 | let &l:omnifunc = "syntaxcomplete#Complete" |