From 76d5d6b210188325a42a699519f23700185dbcd4 Mon Sep 17 00:00:00 2001 From: Maximilian Wagner Date: Tue, 2 Jan 2024 18:57:10 +0100 Subject: [PATCH] added neorg --- lua/plugins/configs/lspconfig.lua | 2 ++ lua/plugins/init.lua | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/lua/plugins/configs/lspconfig.lua b/lua/plugins/configs/lspconfig.lua index feb751b..0579c29 100644 --- a/lua/plugins/configs/lspconfig.lua +++ b/lua/plugins/configs/lspconfig.lua @@ -78,6 +78,8 @@ lspconfig.gdscript.setup {} lspconfig.texlab.setup {} -- Arduino lspconfig.arduino_language_server.setup {} +-- Markdown +lspconfig.marksman.setup {} local load_mappings = function(section) vim.schedule(function() diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 8dd1178..16eb486 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -29,6 +29,33 @@ local default_plugins = { end, }, + { + "nvim-neorg/neorg", + build = ":Neorg sync-parsers", + dependencies = {"nvim-lua/plenary.nvim"}, + config = function() + require("neorg").setup { + load = { + ["core.defaults"] = {}, + ["core.export"] = { + config = { extensions = "all"}, + }, + ["core.export.markdown"] = { + config = { extensions = "all" }, + }, + ["core.concealer"] = {}, + ["core.dirman"] = { + config = { + workspaces = { + forensik = "~/Documents/Forensik/", + }, + }, + }, + }, + } + end, + }, + { "jiaoshijie/undotree", dependencies = "nvim-lua/plenary.nvim", @@ -95,7 +122,9 @@ local default_plugins = { config = function(_, opts) dofile(vim.g.base46_cache .. "syntax") require("nvim-treesitter.configs").setup(opts) + require("neorg").setup {} end, + run = ":Neorg sync-parsers", }, -- git stuff