Error executing lua: invalid key: title_pos
neanias opened this issue · comments
William Mathewson commented
When trying to replace a pattern that matches multiple AST nodes, I get the following error. I've also seen it complain about title
being an invalid key. I'm running Neovim v0.8.1 and as far as I can tell vim.api.nvim_open_win()
doesn't accept title
or title_pos
as config options in that version.
E5108: Error executing lua: ~/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:258: invalid key: title_pos
stack traceback:
[C]: in function 'nvim_open_win'
~/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:258: in function 'open_confirm_win'
~/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:335: in function 'func'
~/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:90: in function <~/.local/share/nvim/lazy/ssr.nvim/lua/ssr.lua:89>
Chen Shuaimin commented
The title key is added in nvim 0.9, @dinhmai74 can you see the title key in :h nvim_open_win
? Maybe you are not using latest nightly version?