markonm / traces.vim

Range, pattern and substitute preview for Vim
MIT License
742 stars 13 forks source link

fix(cmdline): do not restore cmdline when it has different windows #33

Closed iamcco closed 5 years ago

iamcco commented 5 years ago

When there is float window open and enter cmdline, then float window close. finally leave the cmdline it will cause cmdline become too big.

markonm commented 5 years ago

Hi. Thanks for making the pull up request. It's necessary to always use winrestcmd() to prevent #19 when restoring previous window. I pushed a commit to the master to address this issue. Could you test?

iamcco commented 5 years ago

Thanks, works well now.