Update README.md
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||

|
# Java.nvim
|
||||||
|
|
||||||
|
|
||||||
## Why?
|
## Why?
|
||||||
|
|
||||||
@@ -15,16 +14,16 @@ The main goal is the plugin is to be simple and extensible for Java developers.
|
|||||||
For Lazy.nvim:
|
For Lazy.nvim:
|
||||||
```lua
|
```lua
|
||||||
require {
|
require {
|
||||||
"DarthMooMancer/nvim-java",
|
"DarthMooMancer/java.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-java").setup()
|
require("java.nvim").setup()
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
For Mini.Deps:
|
For Mini.Deps:
|
||||||
```lua
|
```lua
|
||||||
MiniDeps.add({ source = 'DarthMooMancer/nvim-java', name = "nvim-java" })
|
MiniDeps.add({ source = 'DarthMooMancer/java.nvim', name = "java.nvim" })
|
||||||
require("nvim-java").setup()
|
require("nvim-java").setup()
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -44,7 +43,7 @@ require...({
|
|||||||
|
|
||||||
## Keybinds
|
## 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
|
```lua
|
||||||
vim.keymap.set("n", "<leader>jb", ":JavaBuild<CR>", { silent = true })
|
vim.keymap.set("n", "<leader>jb", ":JavaBuild<CR>", { silent = true })
|
||||||
|
|||||||
Reference in New Issue
Block a user