45 Commits

Author SHA1 Message Date
yetone
4ac4c8ed3f feat(ui): expand tool use message (#2684) 2025-09-04 00:17:32 +08:00
yetone
ff116a5673 feat: add full_view_ask api (#2658) 2025-08-31 19:17:20 +08:00
yetone
b8bb0fd969 refactor: llm tool parameters (#2449) 2025-07-15 16:40:25 +08:00
yetone
2ed75a2f97 refactor: rename thinking => think (#2247) 2025-06-17 14:08:03 +08:00
yetone
fcf457ed7f fix: refine tools (#2229) 2025-06-16 01:27:39 +08:00
Austin Horstman
12bdb66ea4 chore: vim.validate deprecation change (#2162) 2025-06-06 00:29:21 +08:00
yetone
647a459a2b feat: streaming attempt completion (#2113) 2025-06-02 21:21:05 +08:00
yetone
2d6527197d feat: manual compact instead of automatic compact (#1996) 2025-05-06 20:57:58 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
guanghechen
c74ef1b9bc improve(prompt_input): support to customize the border and body highlight (#1846) 2025-04-11 10:20:40 +08:00
yetone
7e31317fbc fix(lint): make neovim 0.11 typecheck happy (#1844) 2025-04-10 14:14:47 +08:00
Micah Halter
3a75b7d36f refactor: utilize Utils.get_hl to minimize duplicate code (#1701) 2025-03-25 10:38:23 +08:00
yetone
cf230f4bc8 fix: setup highlights (#1694) 2025-03-24 16:51:09 +08:00
Micah Halter
46be28c357 fix: make sure to get the final highlight values rather than link names (#1682)
* fix: make sure to get the final highlight values rather than link names

* fix: update other `nvim_get_hl` calls to use `link = false`

* fix: more link = false

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-24 15:42:44 +08:00
yetone
b837274e0f fix: sidebar border (#1669) 2025-03-22 05:11:07 +08:00
yetone
1e1cd1cf78 fix: confirm ui (#1665) 2025-03-22 01:57:22 +08:00
yetone
86b63b2a33 chores: refine ui (#1663) 2025-03-22 00:42:20 +08:00
yetone
6e77da83c1 fix: better sidebar (#1603)
* fix: better sidebar

* feat: better msg history

* fix: tests
2025-03-17 01:40:05 +08:00
Peter Cardenas
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
yetone
85370a5a1b fix: do not have bg (#1299) 2025-02-19 01:48:14 +08:00
yetone
7f74d9f105 fix: simplifies highlights complex code (#1291) 2025-02-18 10:25:38 +08:00
yetone
b20b2caf22 fix: cursor planning mode bad cases (#1290) 2025-02-17 22:27:43 +08:00
Oliver Lorton
5e1334f4e5 feat: reduces the impact of the shade function when in light mode (#1177) 2025-02-04 15:26:09 +08:00
yetone
bd8afce3b0 feat: tab flow (#1077) 2025-01-14 15:39:57 +08:00
Evgeny Naumov
de9f36fc2f fix(hl): use global namespace (closes #563) (#590)
* add AvantePopupHint and AvanteInlineHint hl groups

* Update lua/avante/sidebar.lua

* chore: update styling

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-15 10:53:33 -04:00
Aaron Pham
0d8098e4eb fix(style): add parentheses (#471)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:12:07 -04:00
Aaron Pham
8cc674f1da fix(highlight): make sure to setup conflict colors (#470)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:03:52 -04:00
Aaron Pham
e8c71d931e chore: run stylua [generated] (#460)
* chore: add stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: running stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:19:54 -04:00
yetone
65e1e178f5 feat: automatic suggestion (smart tab) (#455) 2024-09-03 14:03:59 +08:00
Aaron Pham
962dd0a759 fix(highlights): remove duplicates initialization (#462)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 16:56:00 -04:00
Aaron Pham
7266661413 feat(api): enable customizable calls functions (#457)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 12:22:48 -04:00
Aaron Pham
d520f09333 fix(highlight): respect user boolean (#451)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 20:46:04 -04:00
Aaron Pham
96d060db83 fix(highlight): respect user bold configuration (fixes #448) (#450)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 19:33:04 -04:00
jkunlin
1c0623a9df fix(highlights): give user config higher priority (#306)
* fix(highlights): give user config higher priority

* Update lua/avante/highlights.lua

---------

Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2024-08-28 11:44:57 -04:00
Aaron Pham
10f27d2040 feat(diff): set highlights round robin (#290)
* feat(diff): set highlights round robin

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* docs: add notes about conflict highlight group

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 13:52:46 -04:00
Aaron Pham
72ba4ad52e refactor: cleanup diff highlights (#247)
make sure to run on scheme change

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 17:18:37 -04:00
Aaron Pham
4f8c33cf5f refactor: move highlights to groups with fg and bg (#226)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 01:11:05 -04:00
yetone
b494d05c9d fix: the highlights are not set correctly (#207) 2024-08-25 14:06:00 +08:00
Aaron Pham
f99bf767b5 fix(highlight): allow override (#201)
update envvar parsing from cmdline

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 20:15:45 -04:00
yetone
303928de88 Revert "feat: add support of light theme" (#196)
This reverts commit 8b55833db6.
2024-08-25 00:59:49 +08:00
tang donghai
8b55833db6 feat: add support of light theme (#195) 2024-08-25 00:53:07 +08:00
yetone
9ac9f827ba feat: show shortcut key hint (#193) 2024-08-24 20:29:46 +08:00
yetone
0e07128b56 feat: use regular floating win instead of nui.input (#191) 2024-08-24 17:34:41 +08:00
yetone
8c8d864637 fix: floating window highlights (#149) 2024-08-22 14:46:08 +08:00
yetone
2e48d387a9 refactor: get rid of nui-components (#118) 2024-08-21 21:28:17 +08:00