nvim-neorg / neorg

Modernity meets insane extensibility. The future of organizing your life in Neovim.
GNU General Public License v3.0
6.08k stars 202 forks source link

Tree-sitter-norg build failed #1485

Closed GianmarcoAndreana closed 5 days ago

GianmarcoAndreana commented 5 days ago

Prerequisites

Neovim Version

NVIM v0.10.0; Build type: Release; LuaJIT 2.1.1713484068

Neorg setup

return {
  {
    "nvim-neorg/neorg",
    dependencies = { "luarocks.nvim" },
    lazy = false,
    version = "*",
    config = function()
      require("neorg").setup {
        load = {
          ["core.defaults"] = {},
          ["core.concealer"] = {},
          ["core.dirman"] = {
            config = {
              workspaces = {
                notes = "~/notes",
              },
              default_workspace = "notes",
            },
          },
        },
      }

      vim.wo.foldlevel = 99
      vim.wo.conceallevel = 2
    end,
  }
}

Actual behavior

After upgrading to v 8.8.0, tree-sitter-norg fails to build. In the previous release, it worked fine. I tried to sync the parser but the issue is still there. I'm using Lazy-vim 12.20 on Windows 11.

image

Expected behavior

I expect that tree-sitter-norg build successfully

Steps to reproduce

Upgrading Lazyvim automatically upgraded also Neorg to the latest version, causing the problem

Potentially conflicting plugins

luarocks.nvim nvim-treesitter

Other information

No response

Help

No

Implementation help

No response

joske commented 5 days ago

I have the same issue. AstroNvim on Arch Linux.

NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478

Lazy configuration:

return {
  "nvim-neorg/neorg",
  dependencies = { "luarocks.nvim" },
  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,
}

Error:

    ● tree-sitter-norg 0.06ms  start
        `lua5.1` or `lua` version `5.1` not installed
        `lua` version `5.1` needed, but found `Lua 5.4.6  Copyright (C) 1994-2023 Lua.org, PUC-Rio`

        This plugin requires `luarocks`. Try one of the following:
         - fix your `luarocks` installation
         - enable `hererocks` with `opts.rocks.hererocks = true`
         - disable `luarocks` support completely with `opts.rocks.enabled = false`
vhyrro commented 5 days ago

This should be augmented in the latest minor release. Feel free to reopen if there are still issues :)