diff --git a/lazy-lock.json b/lazy-lock.json index d61f695..0d76d48 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -13,6 +13,7 @@ "mason-lspconfig.nvim": { "branch": "main", "commit": "e86a4c84ff35240639643ffed56ee1c4d55f538e" }, "mason-tool-installer.nvim": { "branch": "main", "commit": "031903fefbf59371502092ef9e22cab9161d90ba" }, "mason.nvim": { "branch": "main", "commit": "fe9e34a9ab4d64321cdc3ecab4ea1809239bb73f" }, + "neorg": { "branch": "main", "commit": "0b3df8633cc1cbb3ffd6f34d4e9073fd6f5083ab" }, "nvim-cmp": { "branch": "main", "commit": "c4e491a87eeacf0408902c32f031d802c7eafce8" }, "nvim-lint": { "branch": "master", "commit": "0cd1ac2801303470bf9ec0164d00f45dc901c83f" }, "nvim-lspconfig": { "branch": "master", "commit": "b6091272422bb0fbd729f7f5d17a56d37499c54f" }, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 402bcad..5d14e0c 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -6,3 +6,4 @@ require('plugins.lsp') require('plugins.nvim-cmp') require('plugins.gitsings') require('plugins.telescope') +require('plugins.neorg') diff --git a/lua/plugins/lazy-nvim.lua b/lua/plugins/lazy-nvim.lua index 30601a5..2972083 100644 --- a/lua/plugins/lazy-nvim.lua +++ b/lua/plugins/lazy-nvim.lua @@ -61,7 +61,12 @@ require('lazy').setup({ }, }, { - "nvim-telescope/telescope-file-browser.nvim", - dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" } + 'nvim-telescope/telescope-file-browser.nvim', + dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' }, + }, + { + 'nvim-neorg/neorg', + build = ':Neorg sync-parsers', + dependencies = { 'nvim-lua/plenary.nvim' }, }, }) diff --git a/lua/plugins/neorg.lua b/lua/plugins/neorg.lua new file mode 100644 index 0000000..763c388 --- /dev/null +++ b/lua/plugins/neorg.lua @@ -0,0 +1,13 @@ +require('neorg').setup({ + load = { + ['core.defaults'] = {}, -- Loads default behaviour + ['core.concealer'] = {}, -- Adds pretty icons to your documents + ['core.dirman'] = { -- Manages Neorg workspaces + config = { + workspaces = { + notes = '~/Notes', + }, + }, + }, + }, +})