feat(nvim): java indented by 4 spaces

chezmoi
sgoudham 2 years ago
parent 96d3be500b
commit 12355b45de
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -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")

Loading…
Cancel
Save