committed
This commit is contained in:
@@ -48,13 +48,25 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
settings = {
|
settings = {
|
||||||
sources = [
|
sources = [
|
||||||
{ name = "nvim_lsp"; }
|
{ name = "nvim_lsp"; }
|
||||||
{ name = "path"; }
|
{ name = "path"; }
|
||||||
{ name = "buffer"; }
|
{ name = "buffer"; }
|
||||||
{ name = "luasnip"; }
|
{ name = "luasnip"; }
|
||||||
{ name = "cmdline"; }
|
{ name = "cmdline"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
mapping = {
|
||||||
|
"[ '<C-u>' ]" = "cmp.mapping.scroll_docs(-4)";
|
||||||
|
"[ '<C-d>' ]" = "cmp.mapping.scroll_docs(4)";
|
||||||
|
# """""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
};
|
||||||
|
|
||||||
|
snippet.expand = ''
|
||||||
|
function(args)
|
||||||
|
require("luasnip").lsp_expand(args.body)
|
||||||
|
end
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user