Error message on startup
Describe the bug
Using neovim 0.6.0 with an empty init.vim, adding only vim-packager and nvim-orgmode, I get the following error when launching nvim with an org file:
Error detected while processing /home/jan/.config/nvim/pack/packager/start/orgmode/ftplugin/org.vim:
line 6:
E5108: Error executing lua ...k/packager/start/orgmode/lua/orgmode/config/init.lua:206: bad argument #2 to 'format' (string expected, got boolean)
stack traceback:
[C]: in function 'format'
...k/packager/start/orgmode/lua/orgmode/config/init.lua:206: in function 'func'
vim/shared.lua:191: in function 'tbl_map'
...k/packager/start/orgmode/lua/orgmode/config/init.lua:205: in function 'setup_mappings'
Steps to reproduce
Launch nvim test.org
Expected behavior
nvim should launch without an error.
Emacs functionality
No response
Minimal init.lua
This happens with the default minimal_init.lua for me, but only when launching nvim for the second time.
Screenshots and recordings
No response
OS / Distro
Gentoo
Neovim version/commit
0.6.0
Additional context
No response
Can you post your setup configuration?
Sorry for the delay. If I run:
% wget https://gist.github.com/kristijanhusak/a0cb5f4eb2bad3e732a1d18d311ebe2f/raw/2855eb5cd816047ae1fe7f1606c171648cfac4d0/minimal_init.lua
% LANG=C nvim -u minimal_init.lua
# Wait for installation to finish, then close nvim.
% LANG=C nvim -u minimal_init.lua test.org
# (the test.org file does not exist)
I get the error message described in the bug.
the test.org file does not exist
This error confuses me. How the file does not exist?
Closing due to inactivity.