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