1
0
Fork 0

remove commented line for completion/Telescope

This commit is contained in:
Felipe 2023-04-15 19:57:39 -04:00
parent b8135dbaef
commit 83fec46f48
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -166,7 +166,7 @@ local servers = {
-- Auto format on save -- Auto format on save
vim.api.nvim_create_autocmd({ "BufWritePre" }, { vim.api.nvim_create_autocmd({ "BufWritePre" }, {
callback = function() callback = function()
vim.lsp.buf.format() vim.lsp.buf.format({ async = false })
cmd("Format") cmd("Format")
end, end,
}) })
@ -292,7 +292,6 @@ cmp.setup({
{ name = "buffer" }, { name = "buffer" },
}), }),
}) })
--cmd [[autocmd FileType *\(TelescopePrompt\)\@<! lua require'completion'.on_attach()]]
-- Setup lspconfig. -- Setup lspconfig.
local capabilities = vim.lsp.protocol.make_client_capabilities() local capabilities = vim.lsp.protocol.make_client_capabilities()