Add local cmp = require('cmp') (#25)

This commit is contained in:
stvhuang
2021-08-15 23:28:31 +08:00
committed by GitHub
parent 8e5f09de1f
commit 03b0558334

View File

@@ -26,7 +26,8 @@ Then setup configuration.
```viml
" Setup global configuration. More on configuration below.
lua <<EOF
require'cmp'.setup {
local cmp = require('cmp')
cmp.setup {
-- You should change this example to your chosen snippet engine.
snippet = {
expand = function(args)