summaryrefslogtreecommitdiffstats
path: root/after/plugin/neorg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/plugin/neorg.lua')
-rw-r--r--after/plugin/neorg.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/after/plugin/neorg.lua b/after/plugin/neorg.lua
new file mode 100644
index 0000000..2331864
--- /dev/null
+++ b/after/plugin/neorg.lua
@@ -0,0 +1,34 @@
+local status_ok, neorg = pcall(require, "neorg")
+if not status_ok then
+ return
+end
+
+neorg.setup {
+ load = {
+ ["core.defaults"] = {},
+ ["core.dirman"] = {
+ config = {
+ workspaces = {
+ home = "~/Documents/notes/home",
+ }
+ }
+ },
+ ["core.concealer"] = {
+ config = {
+ dim_code_blocks = {
+ padding = { right = 2, },
+ content_only = false,
+ width = "content",
+ },
+ }
+ },
+ ["core.export"] = {},
+ ["core.completion"] = {
+ config = {
+ engine = "nvim-cmp",
+ }
+ },
+ }
+}
+
+-- vim.cmd('Neorg sync-parsers')