mirror of
https://github.com/runyanjake/dotfiles.git
synced 2025-10-04 21:57:30 -07:00
Configure Java LSP nvim-java, split from main plugins, and split disabled plugins to seperate folder.
This commit is contained in:
parent
f8ffceb119
commit
76da8d6c5d
@ -35,6 +35,9 @@ ln -sfn /path/to/dotfiles/lazyvim/init.lua ~/.config/nvim/init.lua
|
|||||||
```
|
```
|
||||||
5. Start nvim, and let all the packages install. Done!
|
5. Start nvim, and let all the packages install. Done!
|
||||||
|
|
||||||
|
## Reminders
|
||||||
|
If uninstalling, you need to manually get rid of stuff in `~/.local/share/nvim` before reinstalling everything.
|
||||||
|
|
||||||
## Plugins/Addons/Extras
|
## Plugins/Addons/Extras
|
||||||
|
|
||||||
### Mason (Language Servers)
|
### Mason (Language Servers)
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# Disabled plugins folder.
|
# Disabled plugins folder.
|
||||||
Plugins are loaded by lazy.lua, by scanning the lua/plugins folder.
|
Active plugins are found in the plugins folder, which is scanned by LazyVim.
|
||||||
Move unused items to this folder.
|
Inactive plugins can be moved here to avoid accidental lazy loading.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"yetone/avante.nvim",
|
"yetone/avante.nvim",
|
||||||
enabled = false,
|
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
version = false, -- set this if you want to always pull the latest change
|
version = false, -- set this if you want to always pull the latest change
|
||||||
|
@ -12,6 +12,7 @@ return {
|
|||||||
name = "catppuccin",
|
name = "catppuccin",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
},
|
},
|
||||||
|
-- Set the theme
|
||||||
{
|
{
|
||||||
"LazyVim/LazyVim",
|
"LazyVim/LazyVim",
|
||||||
opts = {
|
opts = {
|
||||||
|
23
lazyvim/lua/plugins/nvim-java.lua
Normal file
23
lazyvim/lua/plugins/nvim-java.lua
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
return {
|
||||||
|
"nvim-java/nvim-java",
|
||||||
|
config = false,
|
||||||
|
dependencies = {
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
opts = {
|
||||||
|
servers = {
|
||||||
|
jdtls = {
|
||||||
|
-- Your custom jdtls settings goes here
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup = {
|
||||||
|
jdtls = function()
|
||||||
|
require("java").setup({
|
||||||
|
-- Your custom nvim-java configuration goes here
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
@ -1,28 +1 @@
|
|||||||
return {
|
return {}
|
||||||
-- add more treesitter parsers
|
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
opts = {
|
|
||||||
ensure_installed = {
|
|
||||||
"bash",
|
|
||||||
"html",
|
|
||||||
"javascript",
|
|
||||||
"json",
|
|
||||||
"lua",
|
|
||||||
"markdown",
|
|
||||||
"markdown_inline",
|
|
||||||
"python",
|
|
||||||
"query",
|
|
||||||
"regex",
|
|
||||||
"tsx",
|
|
||||||
"typescript",
|
|
||||||
"vim",
|
|
||||||
"yaml",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"nvim-java/nvim-java",
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user