gnvim icon indicating copy to clipboard operation
gnvim copied to clipboard

Fold closes when losing focus

Open urxvtcd opened this issue 3 years ago • 0 comments

To reproduce:

  1. 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
" }
  1. Run gnvim on the two files:
gnvim minimal.txt -- -u minimal.vim
  1. Open the fold with za
  2. 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

urxvtcd avatar Aug 28 '22 15:08 urxvtcd