fix(nvim): properly use notify in on_attach
This commit is contained in:
parent
f91c28f16a
commit
c3af4d4516
@ -9,13 +9,9 @@ mason_lspconfig.setup({
|
|||||||
|
|
||||||
local function on_attach(client, bufnr)
|
local function on_attach(client, bufnr)
|
||||||
-- Set autocommands conditional on server_capabilities
|
-- Set autocommands conditional on server_capabilities
|
||||||
async.run(function()
|
vim.notify("Attached server " .. client.name, "info", {
|
||||||
vim.notify
|
title = "LSP",
|
||||||
.async("Attached server " .. client.name, "info", {
|
})
|
||||||
title = "Lsp Attach",
|
|
||||||
}).events
|
|
||||||
.close()
|
|
||||||
end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local lsp_capabilities = require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
local lsp_capabilities = require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||||
|
Loading…
Reference in New Issue
Block a user