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
Maddison Hellstrom
19ab7d51d5
feat: override timeoutlen while hovering over diff ( #781 )
2024-11-02 18:31:54 +08:00
Evgeny Naumov
8dbfe85dd4
fix(hl): use correct highlighting for inline hints ( #613 )
2024-09-21 14:49:07 +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
7266661413
feat(api): enable customizable calls functions ( #457 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 12:22:48 -04:00
yetone
55c85692bf
feat(ci): add lua static analyzer ( #438 )
2024-09-01 17:04:33 +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
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
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
yetone
af9c40811b
fix: diff position ( #312 )
2024-08-28 16:38:38 +08:00
Aaron Pham
07af0a91f2
chore: persistent augroup name pattern ( #250 )
...
for better augroup management
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 22:31:57 -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
85101c1410
fix(diff): disable inlay in diff buffer ( #227 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 01:12:11 -04: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
jkunlin
ed3c5f10e9
fix(diff): nvim_set_hl should use bg instead of background ( #153 )
2024-08-22 23:47:05 +08:00
yetone
8c8d864637
fix: floating window highlights ( #149 )
2024-08-22 14:46:08 +08:00
Aaron Pham
ba06b9bd9d
refactor: cleanup utils and expose lazy ( #83 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 05:40:57 -04:00
Aaron Pham
58af2b7f92
fix(ui): use dressing.nvim for better input support ( #58 )
...
* fix(ui): use dressing.nvim for better input support
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: add small docs on setting up dependencies
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update docs
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* revert: add back quick docs for setup
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update readme
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* Update lua/avante/ui/dressing.lua
* Update lua/avante/ui/dressing.lua
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 06:07:29 -04:00
Aaron Pham
af1f51455e
feat(ui): add envvar popup with warnings ( #54 )
...
* feat: add support for input popup of envvar
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update README and ignore certain filetypes for popup
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: readme doesn't support nested callout
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 04:04:40 +08:00
Aaron Pham
1aaf6a8227
feat(diff): autojump ( #48 )
...
centralized configuration
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 02:14:02 +08:00
yetone
f8cbc88424
refactor(ui): bounding popover ( #13 ) ( #29 )
...
* refactor(ui): bounding popover (#13 )
* refactor(ui): bounding popover
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update readme instructions on setting up render-markdown.nvim
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: align code style
* fix: incorrect type annotation
* fix: make it work with mouse movement
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: focus correct on render
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: make sure to close the view
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: cleanup cursor position
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* docs: add notes on rc
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: make sure to apply if has diff
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: do not simulate user input
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: yetone <yetoneful@gmail.com>
* fix(autocmd): make sure to load tiktoken on correct events (closes #16 ) (#24 )
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* feat(type): better hinting on nui components (#27 )
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* feat: scrollview and tracking config and lazy load and perf (#33 )
* feat: scrollview and tracking config and lazy load and perf
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: add back options
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* revert: remove unused autocmd
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: get code content
* fix: keybinding hint virtual text position
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: yetone <yetoneful@gmail.com>
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-17 15:14:30 +08:00
yetone
b4d40802a8
feat: more like Cursor
2024-08-15 20:07:44 +08:00
yetone
9edd4202af
first commit
2024-08-15 01:45:38 +08:00