Bug#560083: [Patch] Put all sql_omni_key_* logic into sql ftplugin

James Vega jamessan at debian.org
Fri Dec 11 14:24:17 UTC 2009


The sql ftplugin was changed to always enable the omni_key_right &
omni_key_left maps and default them to <Right>/<Left> so they're
generally available.  Unfortunately, sqlcomplete still uses the previous
values of those variables (<C-Right>/<C-Left>) which means <Right>
doesn't behave properly in insert mode.

Attached patch pushes the pumvisible() logic into the sql ftplugin so it
can be sure the g:ftplugin_sql_omni_key_* variables are set and
therefore maintain the proper behavior for whichever keys are used.


GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sql.diff
Type: text/x-diff
Size: 3065 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20091211/6eb90b2a/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20091211/6eb90b2a/attachment.pgp>

More information about the pkg-vim-maintainers mailing list