From af37d88f902a2ec6e2c99c20e9cb0784831cd5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Thu, 19 May 2022 00:51:22 +0200 Subject: [PATCH] feat(neovim): add neorg --- home/editors/neovim/default.nix | 2 ++ home/editors/neovim/neorg.lua | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 home/editors/neovim/neorg.lua diff --git a/home/editors/neovim/default.nix b/home/editors/neovim/default.nix index f2eb089..1a8dc2b 100644 --- a/home/editors/neovim/default.nix +++ b/home/editors/neovim/default.nix @@ -58,6 +58,7 @@ in { nvim-dap-ui nvim-dap-virtual-text + neorg orgmode ]; extraConfig = with builtins; @@ -77,6 +78,7 @@ in { ./dap/dap.lua ./dap/mappings.lua ./treesitter.lua + ./neorg.lua ./orgmode.lua ]); withNodeJs = false; diff --git a/home/editors/neovim/neorg.lua b/home/editors/neovim/neorg.lua new file mode 100644 index 0000000..7babe98 --- /dev/null +++ b/home/editors/neovim/neorg.lua @@ -0,0 +1,19 @@ +require("neorg").setup { + load = { + ["core.defaults"] = {}, + ["core.norg.dirman"] = { + config = { + workspaces = { + work = "~/notes/work", + home = "~/notes/home", + }, + }, + }, + ["core.norg.concealer"] = {}, + ["core.norg.completion"] = { + config = { + engine = "nvim-cmp", + }, + }, + }, +}