On 17/02/14 12:45, A Loumiotis wrote:
Hi,

Omni sql completion does not seem to work with python filetypes.  The
example provided in section 4.6 of the helpfile ft_sql.txt works, ie
omni sql completion works within a perl file.  If I repeat this
example editing a python file instead:

:e test.py
:set filetype=sql
:set ft=python

omni sql completion does not work within a python file.  Is this a bug
or am I doing something wrong?

I use VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 10 2013 14:38:33)
MS-Windows 32-bit GUI version with OLE support.

Thanks,
Antonis

Which patchlevel? As in the following (from my gvim):

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 16 2014 01:35:02)
Included patches: 1-183
Compiled by [email protected]
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):
[...]

If the "Included patches" line is missing in your :version, then it is 7.4.0. In that case I'd recommend installing "Vim without Cream" http://sourceforge.net/projects/cream/files/Vim/ which is currently at 7.4.179 (or to compile Vim 7.4.183 yourself).

Also, which versions of $VIMRUNTIME/ftplugin/sql.vim and $VIMRUNTIME/ftplugin/python.vim ? I didn't check, but these versions, or at least a "Last change" datestamp, ought to be written somewhere near the top of the files.


Best regards,
Tony.
--
Not exactly as shown.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to