13 lines
375 B
Lua
13 lines
375 B
Lua
return {
|
|
clangd = function(_, opts) require("clangd_extensions").setup { server = opts } end,
|
|
jdtls = function(_, opts)
|
|
vim.api.nvim_create_autocmd("Filetype", {
|
|
pattern = "java", -- autocmd to start jdtls
|
|
callback = function()
|
|
if opts.root_dir and opts.root_dir ~= "" then require("jdtls").start_or_attach(opts) end
|
|
end,
|
|
})
|
|
end,
|
|
|
|
}
|