Skip to content

in function 'create_event' / attempt to index a nil value (neovim nightly) #1817

Description

@teto

Prerequisites

  • I am using the latest stable release of Neovim
  • I am using the latest version of the plugin

Neovim Version

NVIM v0.13.0-nightly+84d5c5f

Neorg setup

require('neorg').setup({
      load = {
          ['core.defaults'] = {}, -- Loads default behaviour
          ['core.keybinds'] = {
              config = {
                  default_keybinds = true,
              },
          },
          ['core.concealer'] = {}, -- Adds pretty icons to your documents
          ['core.ui.calendar'] = {},
          ['core.dirman'] = { -- Manages Neorg workspaces
              config = {
                  workspaces = {
                      offline = '~/Nextcloud/local_notes',
                      notes = '~/Nextcloud/notes',
                  },
                  default_workspace = 'notes',
              },
          },
      },
  })

I was using the latest tag but I have same error with latest neorg master

Actual behavior

get error on startup

|| E5113: Lua chunk: /home/teto/plugins/neorg/lua/neorg/core/modules.lua:789: attempt to index a nil value
|| stack traceback:
|| 	/home/teto/plugins/neorg/lua/neorg/core/modules.lua:789: in function 'create_event'
|| 	...o/plugins/neorg/lua/neorg/modules/core/dirman/module.lua:215: in function 'set_workspace'
|| 	...o/plugins/neorg/lua/neorg/modules/core/dirman/module.lua:119: in function 'load'

Expected behavior

no error

Steps to reproduce

not sure, I just start neovim

Potentially conflicting plugins

got ~100 plugins but that doesn't seem to be annoying as error appeared after updating neovim nightly

Other information

No response

Help

None

Implementation help

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues related to bugs. Please attach a severity, a priority and category with this label.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions