try harder to block the sqlcomplete omni

Wed, 16 Jun 2021 13:24:16 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Jun 2021 13:24:16 -0500
changeset 913
72d72bafaf0f
parent 912
a409a606c665
child 914
54729706345b

try harder to block the sqlcomplete omni

.vim/after/ftplugin/sql.vim file | annotate | diff | comparison | revisions
.vim/ftplugin/sql.vim file | annotate | diff | comparison | revisions
.vimrc file | annotate | diff | comparison | revisions
rename from .vim/ftplugin/sql.vim
rename to .vim/after/ftplugin/sql.vim
--- a/.vim/ftplugin/sql.vim
+++ b/.vim/after/ftplugin/sql.vim
@@ -9,4 +9,4 @@
 
 " cpanm https://github.com/darold/pgFormatter.git
 let &l:equalprg = "pg_format -"
-
+let &l:omnifunc = "syntaxcomplete#Complete"
--- a/.vimrc
+++ b/.vimrc
@@ -343,9 +343,7 @@ let g:netrw_altfile = 1
 let g:mucomplete#enable_auto_at_startup = 1
 let g:mucomplete#chains = {
   \ 'default': ['path', 'c-n', 'omni', 'tags', 'dict', 'uspl'],
-  \ 'sql': ['keyn', 'sqla', 'dict', 'uspl'],
   \}
-let g:mucomplete#user_mappings = {'sqla' : "\<c-c>a"}
 
 ">> vim-lsp
 let g:lsp_diagnostics_echo_cursor = 1

mercurial