328 Commits

Author SHA1 Message Date
Aaron Pham
483f71dba4
feat(provider): support copilot (#381)
* feat(provider): add back support for copilot

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

* docs: add acknowledgement

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 23:36:39 -04:00
Aaron Pham
b43377c044
chore(config): add silent_warning options (#378)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 17:08:39 -04:00
Aaron Pham
bd500feeec
chore(logs): silent safe_keymap_set to debug (fixes #376) (#377)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 17:00:44 -04:00
Aaron Pham
33dc1ed470
chore(clipboard): accept nil (#371)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 13:14:19 -04:00
Josef Moudrik
fa043bf8ce
config.lua: improve check for img-clip (#363) 2024-08-29 23:17:44 +08:00
yetone
cdd7730bd7
feat: choose all theirs (#361) 2024-08-29 20:32:00 +08:00
yetone
24b0bfadea
fix: compatible with the situation of disabling lsp inlay_hint delay (#360) 2024-08-29 19:46:51 +08:00
Maddison Hellstrom
abe08d5283
feat: pick conflict under cursor (#355)
Added `cc` which picks the conflict under the cursor, if there is one.
2024-08-29 02:25:45 -04:00
Aaron Pham
5c1861d93f
feat(azure): support vision (#354)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 01:48:40 -04:00
Aaron Pham
93ca541262
feat(gemini): support vision model (closes #294) (#351)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 01:26:26 -04:00
Aaron Pham
76a5ccda5f
chore(gemini): allow overrides from config (#350)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 01:17:31 -04:00
Aaron Pham
1e009822e4
chore(mappings): add options to reflect wiki changes (#349)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 01:09:26 -04:00
Hanchin Hsieh
cb197fb606
feat(clipboard): support windows (#345)
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-08-29 00:00:19 -04:00
Aaron Pham
38a5dbe429
fix(mapping): eager set via lua functions (#347)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 00:00:10 -04:00
Aaron Pham
2e6a26240e
feat(mapping): plug and expose API (#346)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 23:56:00 -04:00
Aaron Pham
8a683b053b
fix(style): reformat (#344)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 19:56:11 -04:00
Aaron Pham
1e9c14db06
fix(diff): use buffer from event for callback (#343)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 19:54:46 -04:00
Daniel Rodriguez
bb5411cd9a
fix(openai): first chunk emit errors (#337) 2024-08-28 18:36:50 -04:00
Aaron Pham
1c4aef68cb
fix(inlay): make sure to check for previous options (fixes #334) (#340)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 18:31:46 -04:00
Aaron Pham
3e9021f03c
fix(hint): make sure to only show hint once (#336)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 15:47:29 -04:00
Aaron Pham
d622feedfa
fix(clipboard): set cursor to new line (#335)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 15:12:44 -04:00
Aaron Pham
2e48174d09
fix(refresh): check if sidebar is available or not (#333)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 14:52:57 -04:00
Aaron Pham
c635f73748
feat: pasting image within buffer (#331)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 14:43:14 -04:00
Aaron Pham
46a621e9de
fix: check for clipboard path locally to avoid recursion (#330)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 12:54:06 -04:00
Filipe Lima
cadee677ba
feat: make nvim-web-devicons an optional dependency (#328)
* chore: make `web-devicons` optional

* docs: update readme install instructions
2024-08-29 00:49:16 +08:00
Aaron Pham
755c15c0bd
chore(clipboard): separate logic to save as base64 and files (#329)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 11:52:12 -04:00
Brent Yi
2c450b1da3
fix: AvanteEdit highlight for visual line mode (#326) 2024-08-28 11:46:26 -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
yetone
9dc00ecc10
fix: gemini (#323) 2024-08-28 22:17:00 +08:00
yetone
c54d2639f4
fix: spinner (#320) 2024-08-28 21:27:55 +08:00
yetone
bfa203018e
fix: remove copilot provider (#318) 2024-08-28 20:51:20 +08:00
yetone
b661269b5b
fix: editing lines indentation (#317) 2024-08-28 20:18:32 +08:00
yetone
e3d90506ac
fix: editing mode prompts (#316) 2024-08-28 20:03:45 +08:00
Will Lynas
5d5ebc8560
chore: add desc to keymaps (#314) 2024-08-28 18:54:15 +08:00
yetone
af9c40811b
fix: diff position (#312) 2024-08-28 16:38:38 +08:00
yetone
385522606c
fix: indentation in first line (#311) 2024-08-28 16:26:08 +08:00
Yusu Pan
44472f6932
refactor(llm): update edit mode prompt to avoid unnecessary code block markers (#301)
* refactor(llm): update edit mode prompt to avoid unnecessary code block markers

- Emphasize the format for presenting modified code snippets
- Avoid unnecessary code block markers and language identifiers

* refactor(llm): improve edit mode prompt
2024-08-28 16:25:00 +08:00
yetone
06f1d710bd
fix: end_col out of range (#310) 2024-08-28 16:13:04 +08:00
Aaron Pham
03b4cb7115
chore(utils): rename default titles (#298)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 18:47:13 -04:00
Aaron Pham
cd9412514e
fix(llm): local-first check (#297)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 18:37:19 -04:00
Aaron Pham
943d3f20b5
fix(local): ensure to set login to true in local (fixes #135) (#295)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 18:05:47 -04:00
Aaron Pham
01d12ccf98
fix(provider): key error (fixes #291) (#292)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 13:54:16 -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
2feaa28ced
chore: cleanup typo and win options (#288)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 13:13:38 -04:00
Aaron Pham
7f9b69c3bb
fix(copilot): make sure to set integration id (#287)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 13:00:30 -04:00
Aaron Pham
a4929104cb
fix(env): skip for setting up from local (#286)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 12:57:53 -04:00
yetone
37f0cf1d33
feat: highlight selected code (#285) 2024-08-27 23:47:15 +08:00
Aaron Pham
d7be4a59c2
fix(openai): enable image support on OpenAI platform only (fixes #282) (#284)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 11:35:25 -04:00
yetone
fe6518f6de
feat: editing mode (#281) 2024-08-27 22:44:40 +08:00
Aaron Pham
971e61b2c8
feat(openai): support pasting image from clipboard (#280)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 07:06:20 -04:00