Skip to content

Crash with g:buftabline_show = 1 #76

Open
@0xDP

Description

@0xDP

Hi,

With g:buftabline_show = 1 vim crashes when I try to edit a file already opened in another vim.

Steps to reproduce:

Set g:buftabline_show = 1, e.g. put it in ~/.vim/after/plugin/buftabline.vim:

% cat ~/.vim/after/plugin/buftabline.vim
let g:buftabline_show = 1

Start vim and open one file for editing, e.g. vimrc

% vim -c ':e ~/.vim/vimrc'

Open a second vim with the same file:

% vim -c ':e ~/.vim/vimrc'

Error E325 is raised and you get the following Prompt:

[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort: 

with 'q' or 'a' vim crashes.

% vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 17 2020 07:41:25)
macOS version
Included patches: 1-1701
% head -n 4 ~/.vim/plugin/buftabline.vim 
" Vim global plugin for rendering the buffer list in the tabline
" Licence:     The MIT License (MIT)
" Commit:      7a09c0407ed4675e442efe830e985b84c1d106c8
" {{{ Copyright (c) 2015 Aristotle Pagaltzis <[email protected]>

Regards,
Dennis

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions