68 Commits

Author SHA1 Message Date
Aaron Pham
8e503ef114
fix(event): make sure to create object during on tab enter ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 06:06:17 -04:00
yetone
1f1aed36bd
fix: check if renderer is nil (closes ) () 2024-08-18 05:54:57 -04:00
Hanchin Hsieh
c8a764b3a1
fix(env): remove fallback and respect one env ()
Make sure to set the corresponding env.
2024-08-18 05:54:29 -04:00
Aaron Pham
d885bd9680
fix(ui): set selection per buffer and remove spinner (closes ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 17:36:30 +08:00
yetone
c19ea9a48a
feat: add wrap line configuration () 2024-08-18 13:48:19 +08:00
yetone
c25521070a
feat: refine prompts for openai () 2024-08-18 04:47:47 +08:00
Aaron Pham
c4e26a8767
feat(experimental): add section for behaviour ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 04:31:24 +08:00
Aaron Pham
ad09ea6058
fix(claude): use correct key ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 04:17:16 +08:00
Aaron Pham
af1f51455e
feat(ui): add envvar popup with warnings ()
* 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
yetone
f4ab995515
feat: refine prompts again () 2024-08-18 02:52:27 +08:00
yetone
095c65689d
feat: refine prompts () 2024-08-18 02:46:19 +08:00
yetone
aa9810bfeb
chore: celebration emoji () 2024-08-18 02:20:12 +08:00
Aaron Pham
350b859e66
docs: update dev instructions for typing () 2024-08-18 02:19:54 +08:00
Aaron Pham
1aaf6a8227
feat(diff): autojump ()
centralized configuration

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 02:14:02 +08:00
yetone
f5d9d2139a
chore(doc): fix format () 2024-08-18 01:58:08 +08:00
yetone
c23cd020d7
chore: update todos () 2024-08-18 01:50:29 +08:00
yetone
d93bbe7e04
chore: update doc () 2024-08-18 01:47:51 +08:00
Aaron Pham
95b42e835f
chore(cmd): add manual refresh and update types ()
* 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
d0d4f8a27c
fix: do not use gmatch () 2024-08-17 22:56:25 +08:00
yetone
f66b5c6784
fix: snippets missing empty lines () 2024-08-17 22:52:57 +08:00
Aaron Pham
83402e4a2d
chore(types): add annotations for block and refresh on winchanged ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-17 22:39:59 +08:00
yetone
5d5ded5c55
fix: docs with render-markdown () 2024-08-17 22:33:40 +08:00
yetone
3dca5f4764
feat: ask selected code block () 2024-08-17 22:29:05 +08:00
yetone
dea737bf05
fix: codeblocks have not been synchronized () 2024-08-17 19:53:45 +08:00
yetone
c3c47264f0
fix: shortcut key tips () 2024-08-17 15:55:34 +08:00
yetone
0e0d9d6f7d
fix: do not jump to the view window () 2024-08-17 15:52:12 +08:00
yetone
80feab88cc
fix: no wrap () 2024-08-17 15:34:37 +08:00
yetone
f8cbc88424
refactor(ui): bounding popover () ()
* refactor(ui): bounding popover ()

* 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 ) ()

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

* feat(type): better hinting on nui components ()

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

* feat: scrollview and tracking config and lazy load and perf ()

* 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
ce5d421c98
fix: correct trim path () 2024-08-16 13:54:44 +08:00
Hanchin Hsieh
de22014785
fix: should not force to use OPENAI_API_KEY with provider azure () 2024-08-16 13:47:43 +08:00
fish
78be877a3e
fix: invalid response err () 2024-08-16 13:40:41 +08:00
Hanchin Hsieh
2674872945
feat: support build tiktoken in Linux aarch64 () 2024-08-16 10:01:51 +08:00
Aaron Pham
e3c162aad3
perf: make load ultra ultra fast ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-16 09:08:26 +08:00
yetone
333bf73bcb
Update README.md () 2024-08-15 21:04:06 +08:00
Aaron Pham
f7de743fe0
feat(tiktoken): automatic build ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-15 20:59:01 +08:00
yetone
d92d26bf2a
fix: make the result buffer unmodifiable () 2024-08-15 20:58:01 +08:00
yetone
dba5107047
Update README.md 2024-08-15 20:20:22 +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" ()
This reverts commit 1634abb9cd29a3d8265fd440e14fe0f56d92d6a9.
2024-08-15 16:01:56 +08:00
Wey Gu
2951217a68
docs: macOS tiktoken core install ()
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
9bc6b4d25c
Update README.md 2024-08-15 14:38:11 +08:00
yetone
06309f23ef
Update README.md 2024-08-15 14:18:25 +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 ()
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 () 2024-08-15 13:41:54 +08:00