From 12884a90bc620de18fc0dbd5f0057007d27fa3de Mon Sep 17 00:00:00 2001 From: Raffaele Wylde <75472685+raffaelewylde@users.noreply.github.com> Date: Sat, 13 Jul 2024 04:28:41 -0400 Subject: [PATCH] update neorg to include telescope --- lua/plugins/nvim-neorg.lua | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/lua/plugins/nvim-neorg.lua b/lua/plugins/nvim-neorg.lua index bca53e9..1021e1f 100644 --- a/lua/plugins/nvim-neorg.lua +++ b/lua/plugins/nvim-neorg.lua @@ -1,6 +1,26 @@ return { "nvim-neorg/neorg", - lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default - version = "8.9.0", -- Pin Neorg to the latest stable release - config = true, + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-neorg/neorg-telescope", + }, + build = ":Neorg sync-parsers", + ft = "norg", + cmd = "Neorg", + config = function() + require("neorg").setup({ + load = { + ["core.defaults"] = {}, + ["core.concealer"] = {}, + ["core.dirman"] = { + config = { + workspaces = { + notes = "~/notes", + }, + }, + }, + ["core.integrations.telescope"] = {}, + }, + }) + end, }