|
|
@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
-- https://sookocheff.com/post/vim/neovim-java-ide/ :bless:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vim.opt.shiftwidth = 4
|
|
|
|
|
|
|
|
vim.opt.tabstop = 4
|
|
|
|
|
|
|
|
vim.opt.softtabstop = 4
|
|
|
|
|
|
|
|
|
|
|
|
local root_markers = { "gradlew", "mvnw", ".git", "pom.xml", "build.gradle" }
|
|
|
|
local root_markers = { "gradlew", "mvnw", ".git", "pom.xml", "build.gradle" }
|
|
|
|
local root_dir = require("jdtls.setup").find_root(root_markers)
|
|
|
|
local root_dir = require("jdtls.setup").find_root(root_markers)
|
|
|
|
local workspace_folder = os.getenv("HOME") .. "/.local/share/eclipse/" .. vim.fn.fnamemodify(root_dir, ":p:h:t")
|
|
|
|
local workspace_folder = os.getenv("HOME") .. "/.local/share/eclipse/" .. vim.fn.fnamemodify(root_dir, ":p:h:t")
|
|
|
|