minor fixes
This commit is contained in:
parent
72e1086d91
commit
7dc194f9e5
3 changed files with 7 additions and 8 deletions
|
@ -53,7 +53,7 @@
|
|||
lspkind.enable = true;
|
||||
nvim-cmp = {
|
||||
enable = true;
|
||||
auto_enable_sources = true;
|
||||
autoEnableSources = true;
|
||||
sources = [
|
||||
{ name = "nvim_lsp"; }
|
||||
{ name = "cmp-latex-symbols"; }
|
||||
|
@ -66,11 +66,7 @@
|
|||
{ name = "path"; }
|
||||
{ name = "buffer"; }
|
||||
];
|
||||
snippet.expand = ''
|
||||
function(args)
|
||||
require('luasnip').lsp_expand(args.body) -- For `luasnip` users.
|
||||
end
|
||||
'';
|
||||
snippet.expand = "luasnip";
|
||||
mappingPresets = [ "insert" "cmdline" ];
|
||||
mapping = {
|
||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue