From f8ffceb11931572495a846c2cf08b7af20bdf80f Mon Sep 17 00:00:00 2001 From: whitney Date: Tue, 19 Nov 2024 16:14:30 -0800 Subject: [PATCH] Disable Avante, add java language server. --- lazyvim/README.md | 3 ++- lazyvim/lua/plugins-disabled/README.md | 3 +++ lazyvim/lua/{plugins => plugins-disabled}/avante.lua | 1 + lazyvim/lua/plugins/plugins.lua | 4 ++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 lazyvim/lua/plugins-disabled/README.md rename lazyvim/lua/{plugins => plugins-disabled}/avante.lua (98%) diff --git a/lazyvim/README.md b/lazyvim/README.md index dc2725e..ebb9e82 100644 --- a/lazyvim/README.md +++ b/lazyvim/README.md @@ -53,7 +53,8 @@ Now, right click > copy will copy to system clipboard. Alternatively you can copy to the `+` or `*` register (`"`` + `+` + `y` ) and paste outside. ### Avante -Reference: https://github.com/yetone/avante.nvim/blob/main/lua/avante/config.lua +Reference: https://github.com/yetone/avante.nvim/blob/main/lua/avante/config.lua +Remember that the sidebar is toggleable using `LEADER + a + a`. ## Shortcut Reference `` key is space key. I don't see a need to change it for me. diff --git a/lazyvim/lua/plugins-disabled/README.md b/lazyvim/lua/plugins-disabled/README.md new file mode 100644 index 0000000..aebc9c5 --- /dev/null +++ b/lazyvim/lua/plugins-disabled/README.md @@ -0,0 +1,3 @@ +# Disabled plugins folder. +Plugins are loaded by lazy.lua, by scanning the lua/plugins folder. +Move unused items to this folder. diff --git a/lazyvim/lua/plugins/avante.lua b/lazyvim/lua/plugins-disabled/avante.lua similarity index 98% rename from lazyvim/lua/plugins/avante.lua rename to lazyvim/lua/plugins-disabled/avante.lua index c129ad8..87a05c5 100644 --- a/lazyvim/lua/plugins/avante.lua +++ b/lazyvim/lua/plugins-disabled/avante.lua @@ -2,6 +2,7 @@ return { { "yetone/avante.nvim", + enabled = false, event = "VeryLazy", lazy = false, version = false, -- set this if you want to always pull the latest change diff --git a/lazyvim/lua/plugins/plugins.lua b/lazyvim/lua/plugins/plugins.lua index 6ccaa70..7e458d2 100644 --- a/lazyvim/lua/plugins/plugins.lua +++ b/lazyvim/lua/plugins/plugins.lua @@ -21,4 +21,8 @@ return { }, }, }, + { + "nvim-java/nvim-java", + opts = {}, + }, }