nvim: require ctrl+space
This commit is contained in:
parent
1a2e06e96a
commit
1b17f8f326
|
@ -128,13 +128,12 @@ lib.setAttrByPath setPath (
|
|||
cmp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
completion.autocomplete = false;
|
||||
snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end";
|
||||
sources = [
|
||||
{ name = "luasnip"; }
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "path"; }
|
||||
{ name = "calc"; }
|
||||
{ name = "emoji"; }
|
||||
];
|
||||
mapping = {
|
||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||
|
|
Loading…
Reference in a new issue