45 Commits

Author SHA1 Message Date
Will Lynas
5d5ebc8560
chore: add desc to keymaps (#314) 2024-08-28 18:54:15 +08:00
yetone
fe6518f6de
feat: editing mode (#281) 2024-08-27 22:44:40 +08:00
Aaron Pham
36446a24e3
chore(config): customize prompt prefix (#271)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 03:44:05 -04:00
Aaron Pham
e80246e211
chore: remove deadcode (#265)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 02:40:24 -04:00
yetone
50d0748901
refactor: remove floating windows (#262) 2024-08-27 14:28:10 +08:00
Aaron Pham
3369f732c5
chore(opts): respect user opts (#255)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 01:39:48 -04: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
3f906e5289
refactor(history): use XDG_DATA_STATE as source dir (#209)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 03:12:53 -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
yetone
7bea73eb80
fix: check if is sidebar buf (#179) 2024-08-24 00:14:20 +08:00
Aaron Pham
2fc266edd2
fix(refresh): correct refresh in code buffer (#166)
only render inlay in codebuf

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 02:23:45 -04:00
Aaron Pham
8d52229f16
refactor(llm): cleanup providers for future ops (closes #134) (#147)
support allow_insecure and proxy ops

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 01:48:40 -04:00
yetone
5208fdc278
fix: default use global statusline (#133) 2024-08-21 22:43:00 +08:00
yetone
2e48d387a9
refactor: get rid of nui-components (#118) 2024-08-21 21:28:17 +08:00
Aaron Pham
7e6705c0b1
fix(hint): correct variable and setup on init (#82)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 05:11:38 -04:00
Aaron Pham
2700cad921
feat(providers): add support for custom vendors (#74)
* feat(providers): add support for custom vendors

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

* fix: override configuration not setup

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 10:20:29 +08:00
Aaron Pham
5fa4f701dd
refactor(ai): streaming chunks to avoid excessive redraw. (#73)
* perf(ai): token streaming with quick refactoring

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

* fix: window resize and AvanteSwitchProvider

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

* revert: config change

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

* chore: return early

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 15:03:25 -04:00
Aaron Pham
b979b3d8ce
chore(init): gated neovim version (#67)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 18:28:11 +08:00
Aaron Pham
8e503ef114
fix(event): make sure to create object during on tab enter (#65)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 06:06:17 -04:00
Aaron Pham
d885bd9680
fix(ui): set selection per buffer and remove spinner (closes #32) (#62)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 17:36:30 +08: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
Aaron Pham
95b42e835f
chore(cmd): add manual refresh and update types (#44)
* chore(cmd): add manual refresh and update types

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

* chore: add refresh mapping

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 01:41:34 +08:00
yetone
3dca5f4764
feat: ask selected code block (#39) 2024-08-17 22:29:05 +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
Aaron Pham
e3c162aad3
perf: make load ultra ultra fast (#14)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-16 09:08:26 +08:00
Aaron Pham
f7de743fe0
feat(tiktoken): automatic build (#9)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-15 20:59:01 +08:00
yetone
c8b7c832a5
feat: add sidebar.lua 2024-08-15 17:57:19 +08:00
yetone
036ce7e77e
Revert "fix: escape original_content" (#8)
This reverts commit 1634abb9cd29a3d8265fd440e14fe0f56d92d6a9.
2024-08-15 16:01:56 +08:00
Wey Gu
2951217a68
docs: macOS tiktoken core install (#7)
also fix azure default api_version
2024-08-15 16:00:18 +08:00
yetone
0da115bf7f
fix: trim line number prefix 2024-08-15 15:58:10 +08:00
yetone
4705b2a679
fix: default highlights 2024-08-15 15:48:40 +08:00
yetone
918b5175ab
fix: openai json parse 2024-08-15 14:09:13 +08:00
Wey Gu
b3132f4e6f
feat: add native azure openai configuration (#4)
chore: also fixed markdown lint errors
2024-08-15 13:44:25 +08:00
yetone
b1d7debd49
chores: name style 2024-08-15 13:43:58 +08:00
Hanchin Hsieh
1634abb9cd
fix: escape original_content (#5) 2024-08-15 13:41:54 +08:00
yetone
0b6a85ee64
feat: enable prompt caching for the Anthropic API 2024-08-15 13:36:57 +08:00
Hanchin Hsieh
ea53082844
feat: support azure (#2) 2024-08-15 11:17:03 +08:00
yetone
505fd39151
fix: cannot recreate sidebar 2024-08-15 11:14:38 +08:00
yetone
c7993662ca
feat: support configure endpoints 2024-08-15 10:14:17 +08:00
yetone
43d6cb5930
fix: remove breakline prefix 2024-08-15 10:07:05 +08:00
yetone
29a1a9a359
feat: use custom configs 2024-08-15 04:05:41 +08:00
yetone
3086940302
feat: refine prompts 2024-08-15 02:50:16 +08:00
yetone
9edd4202af
first commit 2024-08-15 01:45:38 +08:00