Commit Graph

58 Commits

Author SHA1 Message Date
Christopher Brewin
f401983737 feat(sidebar): support files outside of the current working directory. (#1065) 2025-01-11 23:15:13 +08:00
Ethan Howard
c3e7ba0be0 feat: respect git ignore for autosuggestions (#994) 2025-01-11 23:00:19 +08:00
yetone
e14eb002d5 feat: add luatest (#1064) 2025-01-10 00:23:59 +08:00
yetone
48fc35f978 fix: hide internal properties of config (#1036) 2025-01-05 18:27:23 +08:00
Christopher Brewin
78dd9b0a6d feat(context): add a ui for selecting and adding files to the sidebar as context (#912)
* feat(sidebar): supports select files

chore (context) update add type annotations to context functions

chore (sidebar) remove unused notify function call

refactor (sidebar) remove setting search file to file path

chore (sidebar) remove nvim_notify debugging api call

* feat (files) allow selecting a file by string via cmp suggestion menu

* chore (context) refactor to allow context using @file with a context view

* refactor (context) refactor seletected file types as an array of path and content

* refactor (config) remove unused configuration options

* refactor (sidebar) remove unused unbild key

* refactor (context) remove unused imports

* refactor (mentions) update mentions to support items with callback functions and removal of the underlying selection.

* fix (sidebar) add file context as a window that is visitable via the tab key

* refactor (file_content) remove file content as an input to llm

* feat (sidebar) support suggesting and applying code in all languages that are in the context

* feat (sidebar) configurable mapping for removing a file from the context.

* feat (context_view) configure hints for the context view for adding and deleting a file.

* feat (context) add hints for the context view.

* fix (sidebar) type when scrolling the results buffer.

* refactor (selected files) refactor llm stream to accept an array of selected file metadata

* refactor: context => selected_files

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-12 01:29:10 +08:00
yetone
c8e688a0ac feat: format diagnostic (#895) 2024-11-24 06:02:34 +08:00
yetone
67e946ef13 fix: diagnostics lnum starts with 1 (#892) 2024-11-23 23:08:10 +08:00
yetone
9042f5f202 feat: enable diagnostics (#891) 2024-11-23 21:49:33 +08:00
yetone
9d0e1cd4af fix: align lua oop (#889) 2024-11-23 20:23:05 +08:00
yetone
0b1cd5509e fix: incorrect filepath (#865) 2024-11-18 02:55:44 +08:00
yetone
dfc51b3247 feat: add url_join (#856) 2024-11-17 00:39:03 +08:00
Christopher Brewin
deb3b03826 feat (repo-map) configuration option for repo map ignore patterns (#831) 2024-11-12 00:56:20 +08:00
Christopher Brewin
99f3b3ae00 fix(repo-map) go vendor included in repo map causing token limit error (#777) 2024-11-03 16:45:44 +08:00
Ivan Sorokin
bf366f1b73 fix: Improve TS support for @codebase (#735) 2024-10-21 03:43:27 +08:00
Ivan Sorokin
2c33a894bb fix: add escaping characters to ignore patterns (#736) 2024-10-21 03:27:58 +08:00
yetone
26bf8d67e8 fix: failed to rename buffer (#731) 2024-10-17 00:36:13 +08:00
yetone
a0d3845bf3 fix: failed to rename buffer (#730) 2024-10-16 23:57:40 +08:00
yetone
9907f05fbf fix: cannot rename buffer (#729) 2024-10-16 18:05:19 +08:00
yetone
8c28e285ea perf(sidebar): update the buffer more efficiently (#724) 2024-10-15 12:30:20 +08:00
yetone
b19573cb2a feat: write to multiple files (#720) 2024-10-14 20:15:11 +08:00
yetone
faaa7f223b fix: keep correct indentation (#710) 2024-10-11 21:07:55 +08:00
yetone
3dac407a11 fix: should not get the previous visual selection (#698) 2024-10-09 17:16:01 +08:00
yetone
895b0f4143 fix: get selection range from previous visual mode (#689) 2024-10-08 16:29:18 +08:00
yetone
22243bc316 feat: silence debug msg (#636) 2024-09-26 11:18:40 +08:00
yetone
0d90c047ef feat: avante repo map rust crate (#628) 2024-09-26 03:45:49 +08:00
yetone
8e1018fef7 feat: repo map (#496)
* feat: repo map

* chore: remove breakline

* chore: remove spaces

* fix: golang public method

* feat: mentions for editing input
2024-09-23 18:52:26 +08:00
Aaron Pham
7015dde5bf chore(mapping): add support for toggling suggestion (#546)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-06 01:09:02 -04:00
Will Lynas
8c021f3691 fix(input): move hints to bottom right (#533)
Uses vim.fn.winline() to determine correct hint buffer position
2024-09-04 16:27:08 -04:00
Aaron Pham
d7d476ddf5 chore(secrets): support table of string (#500)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 21:47:01 -04:00
yetone
ff316f9110 fix(installation): asset name is incorrect in linux (#491) 2024-09-03 22:43:50 +08: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
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
Aaron Pham
4ad913435c feat(templates): avanterules filetype support (closes #254) (#466)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:09:13 -04:00
yetone
65e1e178f5 feat: automatic suggestion (smart tab) (#455) 2024-09-03 14:03:59 +08:00
yetone
55c85692bf feat(ci): add lua static analyzer (#438) 2024-09-01 17:04:33 +08:00
yetone
2997d4669a refactor: refactor planning prompts to resolve line number issues and indentation issues (#382) 2024-08-30 18:53:49 +08: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
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
03b4cb7115 chore(utils): rename default titles (#298)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 18:47:13 -04:00
yetone
fe6518f6de feat: editing mode (#281) 2024-08-27 22:44:40 +08:00
Aaron Pham
cf68572494 feat(clipboard): initial support (#279)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 06:57:29 -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
yetone
c75dc48356 fix: binding shortcuts to specific buffers (#238) 2024-08-26 18:26:56 +08:00
Aaron Pham
305d972849 chore(keymaps): add toggle options (#204)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 00:16:25 -04:00
yetone
0e07128b56 feat: use regular floating win instead of nui.input (#191) 2024-08-24 17:34:41 +08:00
yetone
b8b5a3086e fix: nui input cannot paste (#187) 2024-08-24 16:25:08 +08:00
yetone
7bea73eb80 fix: check if is sidebar buf (#179) 2024-08-24 00:14:20 +08:00
yetone
25f8175662 chore: fix types (#173) 2024-08-23 18:33:49 +08:00