refactor(nvim): remove neorg

This commit is contained in:
Price Hiller 2023-10-30 09:46:42 -05:00
parent 664c215810
commit d66860e88c
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -1,85 +0,0 @@
return {
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers", -- This is the important bit!
cmd = { "Neorg" },
ft = { "norg" },
dependencies = {
{ "nvim-treesitter/nvim-treesitter" },
},
keys = {
{ "<leader>N", desc = "> Neorg" },
{ "<leader>Nj", ":Neorg journal custom<CR>", desc = "Neorg: Journal" },
{ "<leader>Nt", ":Neorg toc<CR>", desc = "Neorg: Table of Contents" },
},
config = function()
require("neorg").setup({
load = {
["core.defaults"] = {},
["core.completion"] = {
config = {
engine = "nvim-cmp",
},
},
["core.neorgcmd"] = {},
["core.summary"] = {},
["core.journal"] = {
config = {
stategy = "flat",
},
workspace = "default",
},
["core.dirman"] = {
config = {
default_workspace = "default",
workspaces = {
default = "~/Notes",
},
index = "index.norg",
},
},
["core.concealer"] = {
config = {
folds = true,
icons = {
code_block = {
conceal = true,
content_only = true,
},
heading = {
icons = {
"󰀘",
"",
"󰺕",
"",
"󰬪",
"󱆭",
}
}
},
},
},
["core.integrations.treesitter"] = {
config = {
configure_parsers = true,
install_parsers = true,
},
},
["core.qol.todo_items"] = {
config = {
create_todo_items = true,
create_todo_parents = true,
},
},
["core.ui"] = {},
["core.ui.calendar"] = {},
["core.itero"] = {},
["core.promo"] = {}
},
})
if vim.bo.filetype == "norg" then
vim.cmd.edit()
end
end,
},
}