Commit Graph

27 Commits

Author SHA1 Message Date
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