vhyrro / luarocks.nvim

Easily install luarocks with lazy.nvim
The Unlicense
64 stars 5 forks source link

No more `:Neorg` command after update to v8 #16

Closed patata3000 closed 3 months ago

patata3000 commented 3 months ago

Everything seems to have installed correctly but I don't have access to :Neorg command. I'm using Lazy.

Using v7 works.

$ nv --version
NVIM v0.10.0-dev-2686+g7dd6fd422b
Build type: RelWithDebInfo
LuaJIT 2.1.1702233742
Run "nvim -V1 -v" for more info

This is my config:

-- neorg.lua
local M = {}
function M.setup()
  local neorg = require("neorg")
  neorg.setup {
    load = {
      ["core.defaults"] = {}, -- Loads default behaviour
      ["core.ui.calendar"] = {},
      ["core.concealer"] = {
        config = {
          icon_preset = "basic",
          folds = true,
        }
      },
      ["core.dirman"] = { -- Manages Neorg workspaces
        config = {
          workspaces = {
            notes = "~/notes",
          },
          default_workspace = "notes",
        },
      },
    },
  }
end

return {
  "nvim-neorg/neorg",
  dependencies = { "luarocks.nvim" },
  -- build = ":Neorg sync-parsers",
  lazy = false,  -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
  version = "*", -- Pin Neorg to the latest stable release
  config = M.setup
}

-- luarocks.lua
return {
    "vhyrro/luarocks.nvim",
    priority = 1000,
    config = true,
}
patata3000 commented 3 months ago

Wrong repo sorry