Remove cmp, docs not correct atm.

This commit is contained in:
CronyAkatsuki 2024-03-16 17:49:56 +01:00
parent dfb809452a
commit 4825d1cf4a

View File

@ -188,41 +188,6 @@
sign_define({ name = "DiagnosticSignInfo", text = "I" }) sign_define({ name = "DiagnosticSignInfo", text = "I" })
''; '';
}; };
nvim-cmp = {
enable = true;
autoEnableSources = true;
sources =
[ { name = "nvim_lsp"; } { name = "path"; } { name = "snippy"; } ];
snippet.expand = "snippy";
mapping = {
"<C-l>" = "cmp.mapping.confirm({ select = false })";
"<C-j>" = {
action = ''
function(fallback)
if cmp.visible then
cmp.select_next_item()
else
fallback()
end
end
'';
modes = [ "i" "s" ];
};
"<C-k>" = {
action = ''
function(fallback)
if cmp.visible then
cmp.select_prev_item()
else
fallback()
end
end
'';
modes = [ "i" "s" ];
};
};
};
}; };
colorschemes.catppuccin = { colorschemes.catppuccin = {