This commit is contained in:
2025-07-28 16:57:30 -04:00
parent 6fd6dabf7e
commit 04a59afff7

View File

@@ -164,15 +164,6 @@ for _, server in ipairs(servers) do
lspconfig[server].setup({})
end
vim.api.nvim_create_autocmd('LspAttach', {
callback = function(ev)
local client = vim.lsp.get_client_by_id(ev.data.client_id)
if client:supports_method('textDocument/completion') then
vim.lsp.completion.enable(true, client.id, ev.buf, { autotrigger = true })
end
end,
})
vim.diagnostic.config({
virtual_text = true,
underline = true,