Remove cmp, docs not correct atm.
This commit is contained in:
parent
dfb809452a
commit
4825d1cf4a
@ -188,41 +188,6 @@
|
||||
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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user