joereynolds / SQHell.vim

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

Make SQHDatabase, SHQTable, and SQHResult filetypes work with different providers #24

Closed joereynolds closed 6 years ago

joereynolds commented 6 years ago

Currently they're hardcoded to MySQL.

Look at how I've done it in plugin/sqhell.vim

e.g.

command! -range -nargs=0 SQHExecuteBlock execute "<line1>,<line2>call " . g:sqh_provider . "#ExecuteBlock()"
joereynolds commented 6 years ago

https://github.com/joereynolds/SQHell.vim/commit/0afe0e59b35cb14e8ec4aa975886277a0ad64928