feat(nvim): add neorg

main
mandlm 2024-05-30 12:30:14 +02:00
parent bad525d575
commit 62f5da6951
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 20 additions and 1 deletions

View File

@ -84,6 +84,10 @@ in
# debugging
nvim-dap
nvim-dap-ui
# neorg
neorg
neorg-telescope
];
withNodeJs = true;
@ -112,6 +116,11 @@ in
nixpkgs-fmt
];
extraLuaPackages = luaPackages: [
luaPackages.lua-utils-nvim
luaPackages.pathlib-nvim
];
extraConfig = ''
lua << EOF
vim.o.guifont = "DejaVu Sans Mono:h10"
@ -144,6 +153,7 @@ in
${builtins.readFile ./project-nvim.lua }
${builtins.readFile ./dap.lua }
${builtins.readFile ./neorg.lua }
vim.g.gitblame_date_format = "%r"

View File

@ -2,6 +2,15 @@ local neorg = require("neorg")
neorg.setup({
load = {
["core.defaults"] = {}
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/notes",
},
default_workspace = "notes",
},
},
}
})