mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
test: java on linux
This commit is contained in:
parent
fa940d994e
commit
0adcd0f0aa
1 changed files with 23 additions and 23 deletions
|
@ -4,29 +4,29 @@ if pcode.active_java_config.active then
|
||||||
-- {
|
-- {
|
||||||
-- "mfussenegger/nvim-jdtls",
|
-- "mfussenegger/nvim-jdtls",
|
||||||
-- },
|
-- },
|
||||||
{
|
-- {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
-- "nvim-treesitter/nvim-treesitter",
|
||||||
opts = function(_, opts)
|
-- opts = function(_, opts)
|
||||||
opts.ensure_installed = opts.ensure_installed or {}
|
-- opts.ensure_installed = opts.ensure_installed or {}
|
||||||
vim.list_extend(opts.ensure_installed, { "java" })
|
-- vim.list_extend(opts.ensure_installed, { "java" })
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
{
|
-- {
|
||||||
"williamboman/mason-lspconfig.nvim",
|
-- "williamboman/mason-lspconfig.nvim",
|
||||||
opts = function(_, opts)
|
-- opts = function(_, opts)
|
||||||
opts.ensure_installed = opts.ensure_installed or {}
|
-- opts.ensure_installed = opts.ensure_installed or {}
|
||||||
vim.list_extend(opts.ensure_installed, { "jdtls" })
|
-- vim.list_extend(opts.ensure_installed, { "jdtls" })
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
{
|
-- {
|
||||||
"stevearc/conform.nvim",
|
-- "stevearc/conform.nvim",
|
||||||
event = "VeryLazy",
|
-- event = "VeryLazy",
|
||||||
opts = function(_, opts)
|
-- opts = function(_, opts)
|
||||||
local package="google-java-format"
|
-- local package="google-java-format"
|
||||||
require("user.utils.mason").try_install(package)
|
-- require("user.utils.mason").try_install(package)
|
||||||
opts.formatters_by_ft.java = { package }
|
-- opts.formatters_by_ft.java = { package }
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
{
|
{
|
||||||
"nvim-neotest/neotest",
|
"nvim-neotest/neotest",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue