mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 01:08:53 +02:00
rollback: error jdtls linux
This commit is contained in:
parent
91ecdb0406
commit
fa940d994e
8 changed files with 127 additions and 331 deletions
|
@ -92,29 +92,29 @@ if pcode.active_golang_config then
|
|||
end
|
||||
-- run if python config true
|
||||
if pcode.active_python_config then
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "python")
|
||||
-- table.insert(pcode.mason_ensure_installed, "pyright")
|
||||
-- table.insert(pcode.null_ls_ensure_installed, "flake8")
|
||||
-- table.insert(pcode.null_ls_ensure_installed, "black")
|
||||
table.insert(pcode.treesitter_ensure_installed, "python")
|
||||
table.insert(pcode.mason_ensure_installed, "pyright")
|
||||
table.insert(pcode.null_ls_ensure_installed, "flake8")
|
||||
table.insert(pcode.null_ls_ensure_installed, "black")
|
||||
if vim.fn.has("win32") ~= 1 then
|
||||
pcode.nvim_dap = true
|
||||
end
|
||||
end
|
||||
-- run if cpp config true
|
||||
-- if pcode.active_cpp_config then
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "cpp")
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "c")
|
||||
-- table.insert(pcode.mason_ensure_installed, "clangd")
|
||||
-- table.insert(pcode.null_ls_ensure_installed, "clang_format")
|
||||
-- table.insert(pcode.dap_ensure_installed, "codelldb")
|
||||
-- pcode.nvim_dap = true
|
||||
-- end
|
||||
-- run if java config true
|
||||
if pcode.active_java_config.active and pcode.active_java_config.use_nvim_jdtls then
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "java")
|
||||
-- table.insert(pcode.mason_ensure_installed, "jdtls")
|
||||
-- table.insert(pcode.null_ls_ensure_installed, "google_java_format")
|
||||
-- table.insert(pcode.dap_ensure_installed, "javadbg")
|
||||
table.insert(pcode.unregister_lsp, "jdtls")
|
||||
if pcode.active_cpp_config then
|
||||
table.insert(pcode.treesitter_ensure_installed, "cpp")
|
||||
table.insert(pcode.treesitter_ensure_installed, "c")
|
||||
table.insert(pcode.mason_ensure_installed, "clangd")
|
||||
table.insert(pcode.null_ls_ensure_installed, "clang_format")
|
||||
table.insert(pcode.dap_ensure_installed, "codelldb")
|
||||
pcode.nvim_dap = true
|
||||
end
|
||||
-- run if java config true
|
||||
-- if pcode.active_java_config.active then
|
||||
-- table.insert(pcode.treesitter_ensure_installed, "java")
|
||||
-- table.insert(pcode.mason_ensure_installed, "jdtls")
|
||||
-- table.insert(pcode.null_ls_ensure_installed, "google_java_format")
|
||||
-- table.insert(pcode.dap_ensure_installed, "javadbg")
|
||||
-- table.insert(pcode.unregister_lsp, "jdtls")
|
||||
-- end
|
||||
return {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue