summaryrefslogtreecommitdiffstats
path: root/after/plugin/neorg.lua
blob: 583f429728cc98f5162260f924a7890568afbe37 (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 = os.getenv("HOME").."/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 = "basic",
      }
    },
    ["core.export"] = {},
    ["core.completion"] = {
      config = {
        engine = "nvim-cmp",
        name = "[Neorg]",
      }
    },
    ["core.presenter"] = {
      config = {
        zen_mode = "truezen",
      }
    },
    ["core.integrations.telescope"] = {},
  }
}