summaryrefslogtreecommitdiff
path: root/lua/ben/plugins/neorg.lua
blob: ece2a5319262aea1009bfabb8663d7d263e5de85 (plain)
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
return {
  "nvim-neorg/neorg",
  build = ":Neorg sync-parsers",
  dependencies = {
    "nvim-lua/plenary.nvim",
    "nvim-neorg/neorg-telescope",
  },
  config = function()
    require("neorg").setup({
      load = {
        ["core.defaults"] = {}, -- Loads default behaviour
        ["core.export"] = {}, -- Loads default behaviour
        ["core.concealer"] = {
          config = {
            icons = {
              heading = {
                icons = {
                  "",
                  "",
                  "",
                  "",
                },
              },
            },
          },
        }, -- Adds pretty icons to your documents
        ["core.integrations.telescope"] = {},
        ["core.dirman"] = { -- Manages Neorg workspaces
          config = {
            workspaces = {
              notes = "~/Dropbox/org",
            },
            default_workspace = "notes",
          },
        },
      },
    })
  end,
}