From b177e9a7310bd94b95d4e824d5f602d178763a98 Mon Sep 17 00:00:00 2001 From: fiplox Date: Mon, 26 Jun 2023 12:12:26 +0200 Subject: [PATCH] feat: add neorg --- lua/plugins/init.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 80b48d4..7d0ba06 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -336,4 +336,26 @@ return { width = 0.6, }, }, + { + "nvim-neorg/neorg", + cmd = { "Neorg" }, + ft = { "norg" }, + build = ":Neorg sync-parsers", + dependencies = { "nvim-lua/plenary.nvim" }, + 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, + }, }