Refact: change loading methode

This commit is contained in:
Bertrand Benjamin 2022-08-20 05:59:04 +02:00
parent ebdb4420b6
commit 4324070cac
1 changed files with 3 additions and 1 deletions

View File

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