From 9de4e06a7db826cef55c38cf9f05f606c9fc2b6c Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Mon, 16 Oct 2023 21:39:14 -0700 Subject: [PATCH] add neorg --- lua/plugins/neorg.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lua/plugins/neorg.lua diff --git a/lua/plugins/neorg.lua b/lua/plugins/neorg.lua new file mode 100644 index 0000000..d1dccd5 --- /dev/null +++ b/lua/plugins/neorg.lua @@ -0,0 +1,20 @@ +return { + "nvim-neorg/neorg", + 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, +}