Update README.md

This commit is contained in:
DarthMooMancer
2025-02-19 13:26:34 -05:00
committed by GitHub
parent 4bc5077f50
commit 0b2fa9c0e2
+5 -6
View File
@@ -1,5 +1,4 @@
![Unknown](https://github.com/user-attachments/assets/55384558-9d44-40d8-a44a-ab2746ab31ba)
# Java.nvim
## Why?
@@ -15,16 +14,16 @@ The main goal is the plugin is to be simple and extensible for Java developers.
For Lazy.nvim:
```lua
require {
"DarthMooMancer/nvim-java",
"DarthMooMancer/java.nvim",
config = function()
require("nvim-java").setup()
require("java.nvim").setup()
end
}
```
For Mini.Deps:
```lua
MiniDeps.add({ source = 'DarthMooMancer/nvim-java', name = "nvim-java" })
MiniDeps.add({ source = 'DarthMooMancer/java.nvim', name = "java.nvim" })
require("nvim-java").setup()
```
@@ -44,7 +43,7 @@ require...({
## Keybinds
Nvim-java doesnt come with default keybinds; however, here are the ones I use and recommend:
Java.nvim doesnt come with default keybinds; however, here are the ones I use and recommend:
```lua
vim.keymap.set("n", "<leader>jb", ":JavaBuild<CR>", { silent = true })