mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
enc: add create project java
This commit is contained in:
parent
3c9cf18933
commit
16264d0b0d
6 changed files with 585 additions and 13 deletions
|
@ -7,11 +7,17 @@ M = {
|
|||
vim.list_extend(opts.skip_config, { "jdtls" })
|
||||
end,
|
||||
},
|
||||
{
|
||||
"pojokcodeid/auto-java-project.nvim",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("auto-java-project").setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-jdtls",
|
||||
dependencies = { "pojokcodeid/auto-jdtls.nvim" },
|
||||
ft = { "java" },
|
||||
enabled = true,
|
||||
-- your opts go here
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
|
@ -33,8 +39,9 @@ M = {
|
|||
"nvim-treesitter/nvim-treesitter",
|
||||
"andy-bell101/neotest-java",
|
||||
},
|
||||
enabled = vim.fn.findfile("build.gradle", vim.fn.getcwd()) == "build.gradle" or false,
|
||||
-- enabled = vim.fn.findfile("build.gradle", vim.fn.getcwd()) == "build.gradle" or false,
|
||||
config = function()
|
||||
require("auto-jdtls.create_maven_project")
|
||||
require("neotest").setup({
|
||||
adapters = {
|
||||
require("neotest-java"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue