Update README.md
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Java.nvim
|
# Javanvim
|
||||||
|
|
||||||
## Why?
|
## Why?
|
||||||
|
|
||||||
@@ -14,17 +14,17 @@ 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/Java.nvim",
|
"DarthMooMancer/Javanvim",
|
||||||
config = function()
|
config = function()
|
||||||
require("Java.nvim").setup()
|
require("Javavim").setup()
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
For Mini.Deps:
|
For Mini.Deps:
|
||||||
```lua
|
```lua
|
||||||
MiniDeps.add({ source = 'DarthMooMancer/Java.nvim', name = "Java.nvim" })
|
MiniDeps.add({ source = 'DarthMooMancer/Javanvim', name = "Javanvim" })
|
||||||
require("Java.nvim").setup()
|
require("Javanvim").setup()
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ require...({
|
|||||||
|
|
||||||
## Keybinds
|
## Keybinds
|
||||||
|
|
||||||
Java.nvim doesnt come with default keybinds; however, here are the ones I use and recommend:
|
Javanvim 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