From 64e3bfcf63aa80bb15d9d26580467f979fe28e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kmie=C4=87?= Date: Tue, 23 May 2023 11:44:23 +0200 Subject: [PATCH] Nvim: enable neorg properly --- .config/nvim/lua/plugins/init.lua | 4 ---- .config/nvim/lua/plugins/neorg.lua | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 .config/nvim/lua/plugins/neorg.lua diff --git a/.config/nvim/lua/plugins/init.lua b/.config/nvim/lua/plugins/init.lua index c34950f..3d77a71 100644 --- a/.config/nvim/lua/plugins/init.lua +++ b/.config/nvim/lua/plugins/init.lua @@ -39,10 +39,6 @@ return {{ "protex/better-digraphs.nvim", -- }}} --- Note taking {{{ -"nvim-neorg/neorg", --- }}} - -- Appearance {{{ --"jaredgorski/spacecamp", --"lifepillar/vim-gruvbox8", diff --git a/.config/nvim/lua/plugins/neorg.lua b/.config/nvim/lua/plugins/neorg.lua new file mode 100644 index 0000000..876dfd7 --- /dev/null +++ b/.config/nvim/lua/plugins/neorg.lua @@ -0,0 +1,18 @@ +return { + "nvim-neorg/neorg", + build = ":Neorg sync-parsers", + opts = { + load = { + ["core.defaults"] = {}, -- Loads default behaviour + ["core.concealer"] = {}, -- Adds pretty icons to your documents + ["core.dirman"] = { -- Manages Neorg workspaces + config = { + workspaces = { + notes = "~/notes", + }, + }, + }, + }, + }, + dependencies = { { "nvim-lua/plenary.nvim" } }, +}