Refact: change loading methode
This commit is contained in:
parent
ebdb4420b6
commit
4324070cac
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user