From 0338d00fb59a383c68b64a977d76f0d3939cce54 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Wed, 20 Sep 2023 11:07:08 +0200 Subject: [PATCH] some neorg updates --- init.lua | 1 + lazy-lock.json | 3 ++- lua/plugins/neorg.lua | 16 ++++++++++++---- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index 93e408b..3d931a8 100644 --- a/init.lua +++ b/init.lua @@ -1,4 +1,5 @@ vim.g.mapleader = ',' +vim.g.maplocalleader = ',' if not vim.g.vscode then require('config.lazy') require('my_keymappings') diff --git a/lazy-lock.json b/lazy-lock.json index de7dcf7..1c8de42 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -38,7 +38,8 @@ "neodev.nvim": { "branch": "main", "commit": "da1562e1e3df0e994ddc52cb4ba22376a5d7f2fc" }, "neogen": { "branch": "main", "commit": "cb1f384df804c1bf729332c4f728253fe17962d4" }, "neogit": { "branch": "master", "commit": "f0bd7c736cc242258f0fdce0029f3b6331fe952b" }, - "neorg": { "branch": "main", "commit": "67c729f5493bda44a9a1165393cd21f90a3f2a9d" }, + "neorg": { "branch": "main", "commit": "2745ee1371c1029171bb98f2d9fb258e688d2c20" }, + "neorg-telescope": { "branch": "main", "commit": "1310d4aaefd8149c9839bbe1d5610e94389e2f0e" }, "neotest": { "branch": "master", "commit": "6fd61fe665381939a6d70eb08ef1959a10af369e" }, "neotest-python": { "branch": "master", "commit": "81d2265efac717bb567bc15cc652ae10801286b3" }, "nui.nvim": { "branch": "main", "commit": "9e3916e784660f55f47daa6f26053ad044db5d6a" }, diff --git a/lua/plugins/neorg.lua b/lua/plugins/neorg.lua index 9f1b8d3..48f2ca9 100644 --- a/lua/plugins/neorg.lua +++ b/lua/plugins/neorg.lua @@ -1,19 +1,27 @@ return { 'nvim-neorg/neorg', build = ':Neorg sync-parsers', - dependencies = { 'nvim-lua/plenary.nvim' }, + branch = 'main', + dependencies = { + 'nvim-lua/plenary.nvim', + 'nvim-neorg/neorg-telescope' + }, config = function() require('neorg').setup { load = { - ['core.defaults'] = {}, -- Loads default behaviour - ['core.concealer'] = {}, -- Adds pretty icons to your documents - ['core.dirman'] = { -- Manages Neorg workspaces + ['core.defaults'] = {}, -- Loads default behaviour + ['core.concealer'] = {}, -- Adds pretty icons to your documents + ['core.dirman'] = { -- Manages Neorg workspaces config = { workspaces = { notes = '~/notes', }, }, }, + ['core.itero'] = {}, + ['core.promo'] = {}, + ['core.export.markdown'] = {}, + ['core.integrations.telescope'] = {}, }, } end,