not quite sure what I've done here
This commit is contained in:
parent
b22873f45f
commit
83aaa5aef3
18 changed files with 392 additions and 392 deletions
|
|
@ -13,7 +13,7 @@ local java_dap_install = core.mason.get_pkg_path("java-debug-adapter")
|
||||||
-- make sure to check if things with 💀 need updating
|
-- make sure to check if things with 💀 need updating
|
||||||
local config = {
|
local config = {
|
||||||
cmd = {
|
cmd = {
|
||||||
"/usr/lib/jvm/openjdk21/bin/java", -- 💀
|
"java", -- 💀
|
||||||
"-jar",
|
"-jar",
|
||||||
vim.fn.glob(vim.fs.joinpath(jdtls_install, "plugins/org.eclipse.equinox.launcher_*.jar")),
|
vim.fn.glob(vim.fs.joinpath(jdtls_install, "plugins/org.eclipse.equinox.launcher_*.jar")),
|
||||||
"-configuration", jdtls_install.."config_linux",
|
"-configuration", jdtls_install.."config_linux",
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ auto('LspAttach', {
|
||||||
end
|
end
|
||||||
|
|
||||||
-- highlight color codes via lsp (supported by cssls)
|
-- highlight color codes via lsp (supported by cssls)
|
||||||
-- #ff0000
|
_ = "#ff0000"
|
||||||
if client:supports_method('textDocument/documentColor') then
|
if client:supports_method('textDocument/documentColor') then
|
||||||
pcall(vim.lsp.document_color.enable, true, ctx.buf)
|
pcall(vim.lsp.document_color.enable, true, ctx.buf)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue