Skip to content

Cannot install Neorg with LazyVim #1747

@simon-forb

Description

@simon-forb

Prerequisites

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

Neovim Version

NVIM v0.11.4 Build type: Release LuaJIT 2.1.1741730670

Neorg setup

return {
"nvim-neorg/neorg",
lazy = false, -- Disable lazy loading as some lazy.nvim distributions set lazy = true by default
version = "*", -- Pin Neorg to the latest stable release
config = true,
}

Actual behavior

I just tried to install neorg but got this installation error with LazyVim:

Failed to run `config` for neorg

...ua/neorg/modules/core/integrations/treesitter/module.lua:63: Unable to load nvim-treesitter.ts_utils :(

# stacktrace:
  - /neorg/lua/neorg/modules/core/integrations/treesitter/module.lua:63 _in_ **load**
  - /neorg/lua/neorg/core/modules.lua:447 _in_ **load_module**
  - /neorg/lua/neorg/core/modules.lua:379 _in_ **load_module**
  - /neorg/lua/neorg/core/modules.lua:248 _in_ **load**
  - /neorg/lua/neorg/core/modules.lua:447 _in_ **load_module**
  - /neorg/lua/neorg/init.lua:100 _in_ **org_file_entered**
  - /neorg/lua/neorg/init.lua:45 _in_ **setup**
  - lua/config/lazy.lua:17
  - init.lua:2

Expected behavior

Neorg should install without any errors when using the suggested default config.

Steps to reproduce

  • Add the suggested default config for neorg.
  • Run Lazy Install.

Potentially conflicting plugins

No response

Other information

No response

Help

No

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions