s1n7ax/nvim-window-picker

Invalid window id

yriveiro opened this issue · 3 comments

I hitting this error:

E5108: Error executing lua ...im/plugged/nvim-window-picker/lua/window-picker/init.lua:202: Invalid window id: 1015
stack traceback:
        [C]: in function 'nvim_win_set_option'
        ...im/plugged/nvim-window-picker/lua/window-picker/init.lua:202: in function 'pick_window'
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue

My configuration:

require 'window-picker'.setup({
	selection_chars = '123345',
})

Steps to recreate? As far as I can tell, the window should be removed while the window selection. Just wondering how did you manage that?

image image seems to still happen, using the readme's configuration, tried with 'require('window-picker').pick_window()' in cmd

@yriveiro

I currently have the same issue with the configuration provided in the readme.