gnvim
gnvim copied to clipboard
Fold closes when losing focus
To reproduce:
- Create two files. First is
minimal.vim:
set nocompatible
au FocusLost * echo('Lost')
filetype plugin indent on
syntax on
set hidden
Then minimal.txt:
" {
" vim: foldmethod=marker foldlevel=0 foldmarker={,}
" It's a test
" }
- Run gnvim on the two files:
gnvim minimal.txt -- -u minimal.vim
- Open the fold with
za - Move mouse so gnvim loses focus. The fold will close.
nvim version:
NVIM v0.8.0-dev-968-g09c6ce8c4
gnvim version:
gnvim v0.1.6-88-g6ba4737
Probably related to: https://github.com/equalsraf/neovim-qt/issues/591