add a new wallpaper

This commit is contained in:
EdenQwQ 2025-11-13 11:53:06 +08:00
parent 621b9c2cb4
commit 57f38b5c02
4 changed files with 41 additions and 26 deletions

View file

@ -25,21 +25,48 @@ in
# cmp.setup({
# sources = current_sources,
# })
# local has_words_before = function()
# if vim.api.nvim_buf_get_option(0, "buftype") == "prompt" then
# return false
# end
# local line, col = unpack(vim.api.nvim_win_get_cursor(0))
# return col ~= 0 and vim.api.nvim_buf_get_text(0, line - 1, 0, line - 1, col, {})[1]:match("^%s*$") == nil
# end
# cmp.setup({
# mapping = {
# ["<Tab>"] = vim.schedule_wrap(function(fallback)
# if cmp.visible() and has_words_before() then
# cmp.select_next_item({ behavior = cmp.SelectBehavior.Select })
# else
# fallback()
# end
# end),
# },
# })
# '';
plugins = {
copilot-lua = {
enable = false;
enable = true;
settings = {
panel.enabled = false;
suggestion.enabled = false;
suggestion.enabled = true;
suggestion.keymap = {
hide_during_completion = false;
accept = "<C-l>";
accept_word = false;
accept_line = false;
next = "<C-Tab>";
prev = "<C-S-Tab>";
dismiss = "<C-h>";
};
filetypes.markdown = true;
};
};
copilot-cmp.enable = false;
# copilot-cmp.enable = true;
windsurf-nvim = {
enable = true;
enable = false;
};
cmp.settings.sources = [ { name = "codeium"; } ];
# cmp.settings.sources = [ { name = "codeium"; } ];
codecompanion = {
enable = true;
settings = {