added auto formatting and .editorconfig

This commit is contained in:
2025-05-04 18:19:13 +02:00
parent 9e4735ee47
commit 94590db5c9
10 changed files with 88 additions and 75 deletions
+2 -3
View File
@@ -4,9 +4,8 @@ vim.bo.tabstop = 4
local home = os.getenv("HOME") or os.getenv("USERPROFILE")
local config = {
cmd = { home .. '/.local/share/java/jdtls/bin/jdtls'},
root_dir = vim.fs.dirname(vim.fs.find({'gradlew', '.git', 'mvnw'}, { upward = true })[1]),
cmd = { home .. '/.local/share/java/jdtls/bin/jdtls' },
root_dir = vim.fs.dirname(vim.fs.find({ 'gradlew', '.git', 'mvnw' }, { upward = true })[1]),
}
require('jdtls').start_or_attach(config)