joereynolds / SQHell.vim

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

Better table chars when using utf-8 #56

Closed wsdjeg closed 6 years ago

wsdjeg commented 6 years ago

@joereynolds I like this plugin, but the table use - * +, I think maybe we can use a better character.

please check out https://github.com/wsdjeg/SourceCounter.vim

wsdjeg commented 6 years ago

if you like this feature, I will try to send a PR. :)

joereynolds commented 6 years ago

Hey @wsdjeg,

The output of the tables isn't anything that SQHell does, it's what is returned from the SQL client. For example sqlite doesn't format anything as a table at all whereas MySQL (what I think you're seeing) does.

While it's a good idea I don't think it's something I want at this time in the plugin as it would only work for MySQL and maybe Postgres whilst introducing what I imagine to be quite a lot of code.

Nice idea though! :D

wsdjeg commented 6 years ago

@joereynolds oh, sorry I just think the table is created by yourself. so clossing.