Add local cmp = require('cmp') (#25)
This commit is contained in:
@@ -26,7 +26,8 @@ Then setup configuration.
|
|||||||
```viml
|
```viml
|
||||||
" Setup global configuration. More on configuration below.
|
" Setup global configuration. More on configuration below.
|
||||||
lua <<EOF
|
lua <<EOF
|
||||||
require'cmp'.setup {
|
local cmp = require('cmp')
|
||||||
|
cmp.setup {
|
||||||
-- You should change this example to your chosen snippet engine.
|
-- You should change this example to your chosen snippet engine.
|
||||||
snippet = {
|
snippet = {
|
||||||
expand = function(args)
|
expand = function(args)
|
||||||
|
|||||||
Reference in New Issue
Block a user