remove commented line for completion/Telescope
This commit is contained in:
parent
b8135dbaef
commit
83fec46f48
1 changed files with 1 additions and 2 deletions
3
init.lua
3
init.lua
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue