oberblastmeister / neuron.nvim

Make neovim the best note taking application
MIT License
398 stars 34 forks source link

E5108: Error executing lua [string ":lua"]:1: attempt to index field 'config' (a nil value) #39

Closed ghost closed 2 years ago

ghost commented 2 years ago

I'm using the unstable branch like the docs said with neuron 1.0.1.0, I also tried 1.0.0.0, and I'm getting the following error when trying to create a new note, with the default setup and directory structure of this plugin.

E5108: Error executing lua [string ":lua"]:1: attempt to index field 'config' (a nil value)

My config looks like this.

  {
    "oberblastmeister/neuron.nvim",
    { branch = "unstable" },
    requires = { { "nvim-lua/popup.nvim" }, { "nvim-lua/plenary.nvim" }, { "nvim-telescope/telescope.nvim" } },
 }
yutkat commented 2 years ago

lua require'neuron/cmd'.new_edit(require'neuron'.config.neuron_dir) -> lua require'neuron/cmd'.new_edit(require'neuron/config'.neuron_dir)

ghost commented 2 years ago

@yutkat Thanks, if that was fully on me.