Update nvim jdtls config
parent
c896c102a3
commit
0f8a360b06
|
@ -5,7 +5,9 @@
|
|||
local neotest = require("neotest")
|
||||
neotest.setup({
|
||||
adapters = {
|
||||
require("neotest-rust"),
|
||||
require("neotest-rust")({
|
||||
args = { "--no-capture" },
|
||||
}),
|
||||
require("neotest-plenary"),
|
||||
require("neotest-vim-test")({
|
||||
ignore_file_types = { "rust", "lua" },
|
||||
|
|
|
@ -24,11 +24,11 @@ end
|
|||
|
||||
function M.setup()
|
||||
local installed_jdtls = {
|
||||
settings = require("mason-registry.jdtls"):get_lsp_settings_schema():or_else({ properties = {} }).properties,
|
||||
}
|
||||
|
||||
installed_jdtls.cmd = { "jdtls" }
|
||||
|
||||
require("jdtls").setup_dap({ hotcoredeplace = "auto" })
|
||||
require("jdtls.setup").add_commands()
|
||||
|
||||
local config = vim.tbl_extend("force", installed_jdtls, {
|
||||
flags = {
|
||||
|
|
|
@ -490,6 +490,9 @@ local rust_config = {
|
|||
["tests/*.rs"] = {
|
||||
type = "test",
|
||||
},
|
||||
["benches/*.rs"] = {
|
||||
type = "bench",
|
||||
},
|
||||
}
|
||||
|
||||
local zig_config = {
|
||||
|
|
Loading…
Reference in New Issue