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

Statusline gets cleared when changing buffers even when let g:vista_disable_statusline = 1 is set #453

Open
spearman opened this issue Feb 9, 2023 · 0 comments

Comments

@spearman
Copy link

spearman commented Feb 9, 2023

Describe the bug
Open two buffers and open Vista window. When changing buffers without the Vista window open, the statusline normally reads:

"main.c" 1411 lines --44%--

When the Vista window is open, it is shown for a split second before it gets cleared.

let g:vista_disable_statusline = 1 is set.

Environment:

  • OS: Linux (NixOS)
  • Vim/Neovim version: VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 01 1980 00:00:00)
    Included patches: 1-4350
  • This plugin version: 33774af
  • I'm using universal-ctags: no
    • Ctags version: NA
  • I'm using some LSP client:
    • Related Vim LSP client: vim_lsp
    • The Vim LSP client version: 65628c3b0affacd0f36a6e294b1c1f96c6fe2455
    • Have you tried updated to the latest version of this LSP client: Yes

Vista info

    Current FileType: rust
Avaliable Executives: ['ctags', 'vim_lsp']
    Global Variables:
    let g:vista = {'get_tagline_under_cursor': function('21'), 'winnr': function('19'), 'source': {'fname': 'client/src/mode/practice.rs', 'bufnr': 1, 'get_winid': function('23'), 'winid': 1000, 'winnr': 1, 'extension': function('28'), 'line': function('26'), 'get_winnr': function('22'), 'filetype': function('24'), 'lines': function('25'), 'line_trimmed': function('27'), 'scope_seperator': function('29'), 'fpath': '/home/spearman/rs/local/tombs/client/src/mode/practice.rs'}, 'winid': function('20'), 'tmps': []}
    let g:vista#executives = ['ale', 'coc', 'ctags', 'lcn', 'nvim_lsp', 'vim_lsc', 'vim_lsp']
    let g:vista#extensions = ['markdown', 'rst']
    let g:vista#finders = ['clap', 'fzf', 'skim']
    let g:vista#renderer#enable_icon = 0
    let g:vista_blink = [2, 100]
    let g:vista_close_on_fzf_select = 0
    let g:vista_close_on_jump = 0
    let g:vista_cursor_delay = 400
    let g:vista_default_executive = 'vim_lsp'
    let g:vista_disable_statusline = 1
    let g:vista_echo_cursor = 1
    let g:vista_enable_centering_jump = 1
    let g:vista_executive_for = {}
    let g:vista_find_absolute_nearest_method_or_function = 0
    let g:vista_find_nearest_method_or_function_delay = 300
    let g:vista_floating_border = 'none'
    let g:vista_fold_toggle_icons = ['▼', '▶']
    let g:vista_fzf_preview = []
    let g:vista_icon_indent = ['└ ', '│ ']
    let g:vista_ignore_kinds = []
    let g:vista_no_mappings = 0
    let g:vista_sidebar_position = 'vertical botright'
    let g:vista_sidebar_width = 30
    let g:vista_stay_on_open = 0
    let g:vista_top_level_blink = [2, 100]
    let g:vista_update_on_text_changed = 0
    let g:vista_update_on_text_changed_delay = 500

Steps to reproduce given the above info

  1. Open two buffers
  2. Open Vista window
  3. Use :bn or :bp command

Expected behavior
Status line should not get cleared.

Actual behavior
Status line gets cleared.

Screenshot or gif (if possible)
NA

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

1 participant