feat: filter prompt history by user input (#2734)

This commit is contained in:
brook hong
2025-09-29 21:15:25 +08:00
committed by GitHub
parent 44db8eba87
commit ed89d0a1cd
2 changed files with 33 additions and 5 deletions

View File

@@ -2930,6 +2930,13 @@ function Sidebar:create_input_container()
fn.sign_unplace(group, { buffer = bufnr })
fn.sign_place(0, group, "AvanteInputPromptSign", bufnr, { lnum = 1 })
vim.api.nvim_set_hl(0, "AvantePromptInputHL", {
fg = "#ff7700",
bg = "#333333",
bold = true,
italic = true,
underline = true,
})
end
place_sign_at_first_line(self.containers.input.bufnr)