diff --git a/init.lua b/init.lua index 35fa22b..b1a5522 100644 --- a/init.lua +++ b/init.lua @@ -61,22 +61,8 @@ require("lazy").setup({ { "nvim-neorg/neorg", build = ":Neorg sync-parsers", + branch = "main", dependencies = { "nvim-lua/plenary.nvim" }, - config = function() - require("neorg").setup { - load = { - ["core.defaults"] = {}, - ["core.concealer"] = {}, - ["core.dirman"] = { - config = { - workspaces = { - notes = "~/NAS/Neorg/Notes", - }, - }, - }, - }, - } - end, }, }) diff --git a/lua/core/init.lua b/lua/core/init.lua index afd9386..1ecb2bf 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -2,3 +2,4 @@ require 'core.options' require 'core.dashboard' require 'core.keybinds' require 'core.lualine' +require 'core.neorg' diff --git a/lua/core/neorg.lua b/lua/core/neorg.lua new file mode 100644 index 0000000..ac27128 --- /dev/null +++ b/lua/core/neorg.lua @@ -0,0 +1,17 @@ +require("neorg").setup { + load = { + ["core.defaults"] = {}, + ["core.dirman"] = { + config = { + workspaces = { + notes = "~/NAS/Neorg/Notes", + }, + }, + }, + ["core.concealer"] = { + config = { + icons_preset = "varied" + }, + }, + }, +}