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