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

Vista window's width ignoring configuration value after first render #53

Closed
bigardone opened this issue Apr 10, 2019 · 2 comments
Closed

Comments

@bigardone
Copy link

bigardone commented Apr 10, 2019

Describe the bug

I have set the g:vista_sidebar_width option to 60, but after the first time it shows the window, it then resets the width to its default value.

Environment:

  • OS: Mac OS
  • Vim/Neovim version: Neovim 0.3.4
  • This plugin version: 5fef8e3

Minimal vimrc to reproduce

" Vista configuration
let g:vista_default_executive = 'coc'
let g:vista_close_on_jump = 1
let g:vista_blink  = [0, 0]
let g:vista_sidebar_width = 60
let g:vista_finder_alternative_executives = ['coc']
let g:vista#renderer#enable_icon = 0
map <C-m> :Vista coc<CR>

How to reproduce

  1. Press <C-m> to open Vista's view.
  2. Press q to close it.
  3. Press <C-m> again.

First render

image

Next renders

image

@liuchengxu
Copy link
Owner

Please pull the latest commit, should be fixed.

@bigardone
Copy link
Author

Working like a charm now, thanks! 🎉

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

No branches or pull requests

2 participants