tinker.nvim/ftplugin/java.lua

7 lines
232 B
Lua
Raw Normal View History

2023-01-26 21:26:44 +01:00
local nvim_jdtls = require("jdtls")
nvim_jdtls.start_or_attach({
cmd = { 'jdtls' },
root_dir = vim.fs.dirname(vim.fs.find({'.gradlew', '.git', 'mvnw'}, {upward = true})[1]),
})
2023-02-01 01:00:43 +01:00
require('keybinds'):set_lsp_keys({buffer = 0})