aboutsummaryrefslogblamecommitdiffstats
path: root/nvim/lua/user/neorg.lua
blob: 30c016efc1acd45b325aac14bd88bd342e8f8305 (plain) (tree)
































                                                                                            
local M = {
	"nvim-neorg/neorg",
    commit = "6aa9fd303c807ed1ca3fb15cdeab1e322d02fd31", -- we give it a commit hash ourself
	ft = "norg",
	cmd = "Neorg",
	build = ":Neorg sync-parsers",
	opts = {
		load = {
			["core.defaults"] = {}, -- Loads default behaviour
			["core.export"] = {},
			["core.concealer"] = {}, -- Adds pretty icons to your documents
			["core.dirman"] = { -- Manages Neorg workspaces
				config = {
					workspaces = {
						notes = "~/notes",
					},
				},
			},
		},
	},
	dependencies = { { "nvim-lua/plenary.nvim" } },
}

function M.config()
  require('neorg').setup {
      load = {
          ["core.defaults"] = {}
      }
  }
end

return M