327 Commits

Author SHA1 Message Date
yetone
80feab88cc
fix: no wrap (#34) 2024-08-17 15:34:37 +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
Hanchin Hsieh
de22014785
fix: should not force to use OPENAI_API_KEY with provider azure (#20) 2024-08-16 13:47:43 +08:00
fish
78be877a3e
fix: invalid response err (#19) 2024-08-16 13:40:41 +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
d92d26bf2a
fix: make the result buffer unmodifiable (#10) 2024-08-15 20:58:01 +08:00
yetone
b4d40802a8
feat: more like Cursor 2024-08-15 20:07:44 +08:00
yetone
cca2c23dad
feat: more like Cursor 2024-08-15 19:04:15 +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
ba10a2ac3e
fix: add missing files 2024-08-15 11:15:16 +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