mirror of
https://github.com/runyanjake/dotfiles.git
synced 2025-10-04 13:57:28 -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!
|
||||
|
||||
## Reminders
|
||||
If uninstalling, you need to manually get rid of stuff in `~/.local/share/nvim` before reinstalling everything.
|
||||
|
||||
## Plugins/Addons/Extras
|
||||
|
||||
### Mason (Language Servers)
|
||||
|
@ -1,3 +1,3 @@
|
||||
# Disabled plugins folder.
|
||||
Plugins are loaded by lazy.lua, by scanning the lua/plugins folder.
|
||||
Move unused items to this folder.
|
||||
Active plugins are found in the plugins folder, which is scanned by LazyVim.
|
||||
Inactive plugins can be moved here to avoid accidental lazy loading.
|
||||
|
@ -2,7 +2,6 @@
|
||||
return {
|
||||
{
|
||||
"yetone/avante.nvim",
|
||||
enabled = false,
|
||||
event = "VeryLazy",
|
||||
lazy = false,
|
||||
version = false, -- set this if you want to always pull the latest change
|
||||
|
@ -12,6 +12,7 @@ return {
|
||||
name = "catppuccin",
|
||||
priority = 1000,
|
||||
},
|
||||
-- Set the theme
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
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 {
|
||||
-- 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 = {},
|
||||
},
|
||||
}
|
||||
return {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user