feat: better neorg configuration

This commit is contained in:
Muhammad Nauman Raza 2024-01-20 15:15:19 +00:00
parent 935bfde0fd
commit 111fc182f2
Signed by: devraza
GPG key ID: 91EAD6081011574B
3 changed files with 19 additions and 15 deletions

View file

@ -61,22 +61,8 @@ require("lazy").setup({
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
branch = "main",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/NAS/Neorg/Notes",
},
},
},
},
}
end,
},
})

View file

@ -2,3 +2,4 @@ require 'core.options'
require 'core.dashboard'
require 'core.keybinds'
require 'core.lualine'
require 'core.neorg'

17
lua/core/neorg.lua Normal file
View file

@ -0,0 +1,17 @@
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/NAS/Neorg/Notes",
},
},
},
["core.concealer"] = {
config = {
icons_preset = "varied"
},
},
},
}