Hi!

I have a problem with the DBExecSQLUnderCursor command from the dbext 
plugin. From the current cursor position it searches backwards for some SQL
keywords it knows about (e.g. select, create, etc.) and searches forward for
the statement terminator (e.g. ;). Everything between these two positions is
then sent to the database. This breaks if the statement contains none of the
known keywords (e.g. show tables in MySQL) or if the statement contains more 
than one of the keywords (e.g. create table xyz_bak as select * from xyz).

Can I configure dbext so that it searches backwards for a statement
terminator to find the beginning of a statement? Would this break for some
other statements?


Regards,
Dennis Benzinger

-- 
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

Reply via email to