Migrate to mason.nvim and setup jdtls

This commit is contained in:
Alexander Gehrke 2023-02-26 22:07:32 +01:00
parent 3a1ab705cb
commit 59ec8d490b
6 changed files with 92 additions and 27 deletions

View file

@ -42,7 +42,7 @@ return function(on_attach)
-- NOTE: You may or may not want java included here. You will need it if you
-- want basic Java support but it may also conflict if you are using
-- something like nvim-jdtls which also works on a java filetype autocmd.
pattern = { "scala", "sbt", "java" },
pattern = { "scala", "sbt" },
callback = function()
require("metals").initialize_or_attach(metals_config)
end,