Conversation
|
Well I also fixed the travis issue where it didn't use the correct branch/pull request for Vader tests. |
|
Hey @jbyte All looks good, I'm going to fix the Mac Vs Linux sort bug before merging any pull requests Once I've done that I'll comment on here |
|
I'm fine with that. |
|
Hey @jbyte, I've fixed the tests/code, can you pull down master and try again? |
Vim is already installed, and no need to clone the repo it does that by default (it also checkouts the correct branch/pull request).
The installed one was an old 7.4 version
a112182 to
0c647a5
Compare
|
The tests are fine now 👍 |
| if(&ft == 'testType') | ||
| return | ||
| endif | ||
| if(&ft == 'SQHInsert') |
There was a problem hiding this comment.
I think these are modifying the jump list, meaning if I do <c-o> or <c-i> I need to press them a few times, can we avoid adding to the jump list?
|
When I try to I get Incorrect number of values. |
The formating of the buffers added jumps to the jump list. Fixed by adding _keepjumps_. When saving an SQHInsert the plugin emited an error if there were any spaces between commas. Fixed by improving the filter call.
|
It should be fixed now. |
|
I think now that we do everything in one buffer, your calls to
Instead of going back to the This also happens on the Looking good so far though :D |
|
Well I wouldn't remove them, but change them. Because they are used for "reloading" the buffer. Edit: Edit2: But in the end I think this would need quite a bit of refactoring so maybe should be its own PR? |
|
Thoughts on the refactoring: #46. |
|
Sounds good to me, we can test the query generation better this way too. Do we need to delete all lines in the buffer each time? We use enew! inside the InsertResultsToNewBuffer function anyway so the previous buffer would be removed (though still available in the jump list I guess). Also it sounds like the pros outweight the cons so feel free to take a stab it, I would definitely like a cleaner codebase for this |
Description (what is it you've done, has anything changed?)
+-----for all SQH filetypes except SQHInsert, or everything before a line containing,for SQHInsert filetype) -- this could probably use some more tweekingChecklist
doc/sqhell.txt