Latest configuration changes

This commit is contained in:
Alex Selimov 2026-04-07 11:30:06 -04:00
parent b2d372c538
commit beca7d3566
9 changed files with 93 additions and 60 deletions

View file

@ -11,7 +11,7 @@ return {
local root_dir = require("jdtls.setup").find_root({ ".git", "mvnw", "gradlew" })
-- Path to your exported Eclipse/IntelliJ style xml
local style_path = vim.fn.expand("~/.config/nvim/GoogleStyle.xml")
local style_path = vim.fn.expand("~/.config/nvim/formatters/eclipse-java-google-style.xml")
local java_home = os.getenv("NVIM_JDTLS_JAVA_HOME")
@ -42,10 +42,7 @@ return {
settings = {
java = {
format = {
settings = {
url = "file://" .. style_path,
profile = "GoogleStyle", -- must match the profile inside the xml
},
enabled = false,
},
},
},