fix trying to do omni on sql files

Wed, 07 Aug 2019 16:49:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 07 Aug 2019 16:49:17 -0500
changeset 779
0053354a8f58
parent 778
dcf0dd71ee53
child 780
21fa6f49ea55

fix trying to do omni on sql files

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -308,7 +308,11 @@ let g:polyglot_disabled = ['vifm', 'perl
 ">> mucomplete
 " enable and prefer local buffer before tags
 let g:mucomplete#enable_auto_at_startup = 1
-let g:mucomplete#chains = {'default': ['path', 'omni', 'c-n', 'tags', 'dict', 'uspl']}
+let g:mucomplete#chains = {
+  \ 'default': ['path', 'omni', 'c-n', 'tags', 'dict', 'uspl'],
+  \ 'sql': ['sqla', 'keyn', 'c-n', 'dict', 'uspl']
+  \}
+let g:mucomplete#user_mappings = {'sqla' : "\<c-c>a"}
 
 ">> vim-lsp
 augroup vim-lsp

mercurial