From 31b64b318df91d34f795f407e4feb828a5151ee7 Mon Sep 17 00:00:00 2001 From: Aram Markarov Date: Sat, 29 Nov 2025 19:47:04 +0100 Subject: [PATCH] removed maveon, added neorg --- lua/config/maven.lua | 8 -------- lua/config/neorg.lua | 5 +++++ lua/plugins/init.lua | 17 +++++++++-------- 3 files changed, 14 insertions(+), 16 deletions(-) delete mode 100644 lua/config/maven.lua create mode 100644 lua/config/neorg.lua diff --git a/lua/config/maven.lua b/lua/config/maven.lua deleted file mode 100644 index a9932bb..0000000 --- a/lua/config/maven.lua +++ /dev/null @@ -1,8 +0,0 @@ -require('maven').setup({ - executable = "mvn", -- `mvn` should be in your `PATH`, or the path to the maven exectable, for example `./mvnw` - cwd = nil, -- work directory, default to `vim.fn.getcwd()` - settings = nil, -- specify the settings file or use the default settings - commands = { -- add custom goals to the command list - { cmd = { "clean", "compile" }, desc = "clean then compile" }, - }, -}) diff --git a/lua/config/neorg.lua b/lua/config/neorg.lua new file mode 100644 index 0000000..aac932e --- /dev/null +++ b/lua/config/neorg.lua @@ -0,0 +1,5 @@ +require("neorg").setup({ + load = { + ["core.defaults"] = {}, + } +}) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 4b047ae..1dc165c 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,4 +1,13 @@ return { + { + "nvim-neorg/neorg", + lazy = false, + version = "*", + config = true, + config = function() + require("config.neorg") + end, + }, { "neovim/nvim-lspconfig", dependencies = { @@ -114,12 +123,4 @@ return { require("config.dap") end, }, - { - "eatgrass/maven.nvim", - cmd = { "Maven", "MavenExec" }, - dependencies = "nvim-lua/plenary.nvim", - config = function() - require("config.maven") - end - }, }