Fix for bug re: missing s:auto_width variable #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi! I'm pretty new to vim and also to doing pull requests so if I have done something wrong, please let me know.
I ran into a bug with vim-taglist-plus. If I do a "let g:Tlist_WinWidth = 50" in my .vimrc, the first time the taglist window attempts to fill its contents, I get a bug that says something about the s:auto_width variable not being defined.
So, I tracked it down to line 144 in the plugin. I just added an else statement that ensures that s:auto_width gets set to 0 and this seems to have fixed the bug.
I'm not sure if I should be fixing this in the original vim-taglist plugin or this one. This is the one I am using, so I figured I would fix it in this one. Again, if I did not follow proper etiquette, please let me know