Add neorg telescope integration

Add extra neorg modules: export, presenter, summary, telescope
This commit is contained in:
Evie Litherland-Smith 2023-05-20 13:21:42 +01:00
parent 7d3109f60e
commit 5e7fcd7e72

View file

@ -4,7 +4,7 @@ return {
event = { "FileType norg" }, event = { "FileType norg" },
cmd = "Neorg", cmd = "Neorg",
lazy = true, lazy = true,
dependencies = { "nvim-lua/plenary.nvim", "nvim-treesitter/nvim-treesitter" }, dependencies = { "nvim-lua/plenary.nvim", "nvim-treesitter/nvim-treesitter", "nvim-neorg/neorg-telescope" },
init = function() init = function()
vim.api.nvim_create_autocmd({ "BufNewFile", "BufReadPost" }, { vim.api.nvim_create_autocmd({ "BufNewFile", "BufReadPost" }, {
pattern = { "*.norg" }, pattern = { "*.norg" },
@ -21,6 +21,11 @@ return {
["core.concealer"] = {}, ["core.concealer"] = {},
["core.dirman"] = { config = { workspaces = { notes = "~/notes" } } }, ["core.dirman"] = { config = { workspaces = { notes = "~/notes" } } },
["core.completion"] = { config = { engine = "nvim-cmp" } }, ["core.completion"] = { config = { engine = "nvim-cmp" } },
["core.export"] = {},
["core.presenter"] = { config = { zen_mode = "zen-mode" } },
["core.summary"] = { config = { strategy = "metadata" } },
-- ["core.ui.calendar"] = {},
["core.integrations.telescope"] = {},
}, },
}, },
} }