summaryrefslogtreecommitdiffstats
path: root/after/plugin/neorg.lua
blob: e130ecb289f8ed51255238c3a533a780a0608ea4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
local status_ok, neorg = pcall(require, "neorg")
if not status_ok then
  return
end

local wsphome = "~/documents/notes/"
neorg.setup {
  load = {
    ["core.defaults"] = {},
    ["core.esupports.metagen"] = {
      config = {
        type = "auto",
        update_date = true,
      }
    },
    ["core.dirman"] = {
      config = {
        workspaces = {
          home = wsphome .. "home",
          robotics = wsphome .. "robotics"
        },
        index = "index.norg",
      }
    },
    ["core.summary"] = {},
    ["core.concealer"] = {
      config = {
        dim_code_blocks = {
          padding = { right = 2, },
          content_only = false,
          width = "content",
        },
        folds = false,
        icon_preset = "varied",
      }
    },
    ["core.export"] = {},
    ["core.completion"] = {
      config = {
        engine = "nvim-cmp",
      }
    },
    ["core.presenter"] = {
      config = {
        zen_mode = "truezen",
      }
    },
  }
}

-- vim.cmd('Neorg sync-parsers')