joereynolds / SQHell.vim

An SQL wrapper for vim
MIT License
131 stars 9 forks source link

Show errors in quickfix window #55

Open petobens opened 6 years ago

petobens commented 6 years ago

If there is an error in the query; such as:

SELECT * FROM foo LIMI 10

the error is shown in the output buffer like this:

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '10' at line 1

It would be nice to instead show errors in the quickfix window (thus allowing to jump to the correct file/line).

joereynolds commented 6 years ago

Great idea. It's on the list