summaryrefslogtreecommitdiffstats
path: root/after/plugin/neorg.lua
blob: af41a4786eb7c17fc387aa64fdf272625995b8c5 (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
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",
      }
    },
  }
}

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