Change a lot of stuff
This commit is contained in:
24
lua/plugins/java.lua
Normal file
24
lua/plugins/java.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
return {
|
||||
"mfussenegger/nvim-jdtls",
|
||||
opts = {
|
||||
settings = {
|
||||
java = {
|
||||
configuration = {
|
||||
runtimes = {
|
||||
{
|
||||
name = "JavaSE-21",
|
||||
path = "/usr/lib/jvm/openjdk-bin-21/",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
format = {
|
||||
enabled = true,
|
||||
settings = { -- you can use your preferred format style
|
||||
url = "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",
|
||||
profile = "GoogleStyle",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user