Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening Tagbar #14

Open
colwem opened this issue Jul 6, 2015 · 3 comments
Open

Opening Tagbar #14

colwem opened this issue Jul 6, 2015 · 3 comments
Labels

Comments

@colwem
Copy link

colwem commented Jul 6, 2015

Setting let g:eighties_bufname_additional_patterns = ['Tagbar', ... ] works to prevent the tagbar window from resizing when I switch focus to it but it does not prevent this plugin from resizing it when I run :TagbarOpen or :TagbarToggle to open the tagbar window. Everytime I open tagbar I have to manually resize it back to something sensible. I notice you had to add a special routine to handle NERD_tree. This may be the same kind of problem. I think eighties#EightiesResize() is getting called on the tagbar window when bufname("%") in

for pattern in patterns
  if bufname("%") =~ pattern
    return 1
  endif
endfor

is not 'Tagbar'.

Otherwise I'm very happy I just discovered this plugin. It's a great idea.

@justincampbell
Copy link
Owner

Thanks for the report! I've also experienced this on occasion, especially when I've used NERDTree. I spent some time trying to fix this and came up short, but if someone submitted a pull-request, I'd happily accept it.

@justincampbell
Copy link
Owner

Could be related to #13

@xxvxx1
Copy link
Contributor

xxvxx1 commented Nov 7, 2015

remove WinEnter auto command is a Temporary solution , but i have no idea if it can make other issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants