mhinz / vim-startify

:link: The fancy start screen for Vim.
MIT License
5.3k stars 186 forks source link

Error in current NeoVim vs. Vim9 and odd initial cursor position #534

Closed johnsonjh closed 2 years ago

johnsonjh commented 2 years ago

On Vim9 (patch 65) at startup:

D83D3014-B2E6-482C-8B47-19C376116A29

On NeoVim (NVIM v0.8.0-dev-nightly-288-ge9b58a619):

F43500E0-1079-4660-B424-14AB0DBA8028

The cursor in NeoVim is no longer defaulting to "e" - you need to press "j" first to move down. If you just press Enter without moving to a selection in the menu, the following error is displayed:

Error detected while processing function startify#open_buffers:
line   13:
E716: Key not present in Dictionary: "1"
E116: Invalid arguments for function <SNR>196_open_buffer

This behavior happened somewhat recently with NeoVim, perhaps in the past week. If you have suggestions or need additional details please advise.

johnsonjh commented 2 years ago

After mentioning this informally to the NeoVim people, the behavior seems to be corrected from their side.

I don't know the exact commit, but it is Fixed For Me™, at least as of NVIM v0.8.0-dev-735-g88ed33230 combined with vim-startify from master.