reverting

This commit is contained in:
2026-05-29 18:43:45 +02:00
parent 8e7bbdd5af
commit 7c2edc0ea3
2 changed files with 14 additions and 7 deletions

View File

@ -2,6 +2,13 @@ vim.pack.add({ "https://github.com/scalameta/nvim-metals" })
local metals_config = require("metals").bare_config()
metals_config.capabilities = require("blink.cmp").get_lsp_capabilities()
metals_config.settings = {
showImplicitArguments = true,
showInferredType = true,
serverProperties = {
"-Dmetals.worksheet-timeout=120",
},
}
metals_config.on_attach = function(client, bufnr)
-- Your existing keymaps, scoped to the buffer
local opts = { buffer = bufnr }