I installed it via Lazy as specified in README, the notion API key is in the NOTION_API_KEY env variable. Running :Notion outputs [Notion] Not initialized, please run :NotionSetup, running :NotionSetup outputs E492: Not an editor command: NotionSetup. I also tried to explicitly init the default configuration, but it had no effect.
Some more context:
Calling require"notion".openMenu() fails with the nil error - attempt to call field 'openMenu' (a nil value)
Calling require"notion".raw() outputs the same not initialized message - [Notion] Not initialized, please run :NotionSetup
Hey 👋 Thank you for working on that plugin!
However, I couldn't really try it :(
Steps to reproduce
I installed it via Lazy as specified in README, the notion API key is in the
NOTION_API_KEY
env variable. Running:Notion
outputs[Notion] Not initialized, please run :NotionSetup
, running:NotionSetup
outputsE492: Not an editor command: NotionSetup
. I also tried to explicitly init the default configuration, but it had no effect.Some more context:
Calling
require"notion".openMenu()
fails with the nil error -attempt to call field 'openMenu' (a nil value)
Callingrequire"notion".raw()
outputs the same not initialized message -[Notion] Not initialized, please run :NotionSetup