Neorg command not available after installing #1026
-
|
Hi, I'm probably doing it wrong. But I have trouble finding a conscise installation instruction with lazy.nvim that just works. My steps so far:
-> Everything works perfectly at this point. I'm a happy camper. Just wish I could try out Neorg ;)
Any help would be greatly appreciated. Neorg seems like a really cool project! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 5 replies
-
|
Try |
Beta Was this translation helpful? Give feedback.
-
|
I'm quite sure you should just do |
Beta Was this translation helpful? Give feedback.
-
|
Thanks so much for the kind answers to my absolutely n00b question. I realize I have a long way to go to understand neovim config! I'll try out the above right now. |
Beta Was this translation helpful? Give feedback.
-
|
I don't know if this is relevant. But it does worry me. The output of :checkhealth lazy is: Especially the last line about packer. Can this be the cause? After replacing my plugin loading code with this: I stil don't see Neorg in :Lazy out put. |
Beta Was this translation helpful? Give feedback.
-
|
The line about packer_compiled not found is correct and good for you ;) NvChad uses lazy.nvim which is the package manager of choice for most (new) users now. Packer is/was great too though. |
Beta Was this translation helpful? Give feedback.
-
|
Try the following: local plugins = {
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
dependencies = { "nvim-lua/plenary.nvim" },
lazy = false, -- if you want to load on startup and eagerly
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {}, -- Loads default behaviour
["core.concealer"] = {}, -- Adds pretty icons to your documents
["core.dirman"] = { -- Manages Neorg workspaces
config = {
workspaces = {
notes = "~/notes",
},
},
},
},
}
end,
}
}
return pluginsYou return a table of tables of plugin configs. This should give you the right structure and enables you to add more custom plugins later. Also your file path should be Edit: you might also need a file M.plugins = "custom.plugins"the docs are not 100% clear about that. |
Beta Was this translation helpful? Give feedback.
-
|
This is one of the issues of using a pre-configured distribution. Although it is great to have a lot of functionality from the start, they stick you into a more rigid system. Vims/Neovims strength lies in personalization. Set up every part of your editor to suit your needs. PDE I suggest setting up everything the way you like it, once you know your way around. |
Beta Was this translation helpful? Give feedback.
Try the following:
You return a table of tables of plugin con…