From 2b42e15d08919d251c22b9dce14b8b4f2a0ef497 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Wed, 19 Feb 2025 10:37:25 -0500 Subject: [PATCH] Changing File Structure --- README.md | 14 ++++++++------ lua/{nvim-java.lua => nvim-java/init.lua} | 0 2 files changed, 8 insertions(+), 6 deletions(-) rename lua/{nvim-java.lua => nvim-java/init.lua} (100%) diff --git a/README.md b/README.md index f48b32f..2b2a9c6 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,21 @@ The main goal is the plugin is to be simple and extensible for Java developers. For Lazy.nvim: ``` require { - "DarthMooMancer/nvim-java" + "DarthMooMancer/nvim-java", + config = function() + require("nvim-java").setup() + end } + ``` For Mini.Deps: ``` -MiniDeps.add({ source = 'DarthMooMancer/nvim-java' }) +MiniDeps.add({ source = 'DarthMooMancer/nvim-java', name = "nvim-java" }) +require("nvim-java").setup() + ``` -Then all you need to do is add the require to your init.lua: -``` -require("nvim-java").setup() -``` !!! You can install with any plugin manager, these are just examples. You can try this with vim, but I cant guarantee that it would work. !!! ## Keybinds diff --git a/lua/nvim-java.lua b/lua/nvim-java/init.lua similarity index 100% rename from lua/nvim-java.lua rename to lua/nvim-java/init.lua