Refact: change loading methode

This commit is contained in:
Bertrand Benjamin 2022-08-20 05:59:04 +02:00
parent ebdb4420b6
commit 4324070cac

View File

@ -38,7 +38,9 @@ local lsp_symbols = {
TypeParameter = "  (TypeParameter)", TypeParameter = "  (TypeParameter)",
} }
local cmp = require'cmp' local status, cmp = pcall(require, "cmp")
if (not status) then return end
cmp.setup{ cmp.setup{
completion = { completion = {
completeopt = 'menuone,noinsert,noselect', completeopt = 'menuone,noinsert,noselect',