130 Commits

Author SHA1 Message Date
tang donghai
dd6bfad844
feat(mapping): shortcut for input box () 2024-08-24 12:51:59 -04:00
Coffee
1142c3c274
fix(openai): add support for Cloudflare's AI-Gateway () 2024-08-24 12:32:16 -04:00
yetone
9ac9f827ba
feat: show shortcut key hint () 2024-08-24 20:29:46 +08:00
yetone
0e07128b56
feat: use regular floating win instead of nui.input () 2024-08-24 17:34:41 +08:00
yetone
b8b5a3086e
fix: nui input cannot paste () 2024-08-24 16:25:08 +08:00
yetone
3dbdba198a
feat: commands with cmp () 2024-08-24 04:32:44 +08:00
yetone
f2173c9a3c
chore: refine creating floating win () 2024-08-24 02:33:35 +08:00
yetone
4693da8757
fix: refine floating window opts () 2024-08-24 02:25:26 +08:00
yetone
964c4621f6
fix: close the hints popup when switching to another buffer () 2024-08-24 00:21:00 +08:00
yetone
7bea73eb80
fix: check if is sidebar buf () 2024-08-24 00:14:20 +08:00
yetone
43c5544a29
fix: splitting window size () 2024-08-23 23:52:13 +08:00
Aaron Pham
d2775135a3
feat(llm): cohere support ()
should be good set of defaults now, one in US, one in canada, and
microsoft :/

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 09:36:40 -04:00
yetone
12d7cd8ec7
fix: code buffer tab buttons should not be hijacked () 2024-08-23 18:38:14 +08:00
yetone
25f8175662
chore: fix types () 2024-08-23 18:33:49 +08:00
Yusu Pan
7d4be712f0
fix: correct minor typo in sidebar.lua () 2024-08-23 18:17:58 +08:00
yetone
a3c2a9a0d5
fix: switch to an invalid window () 2024-08-23 18:08:58 +08:00
jihunkim0
79e9aac1af
fix: api key name ()
Co-authored-by: Jihun Kim <jihunk@google.com>
2024-08-23 17:59:02 +08:00
yetone
d7af33887d
feat: streaming updates content () 2024-08-23 17:58:46 +08:00
Aaron Pham
2fc266edd2
fix(refresh): correct refresh in code buffer ()
only render inlay in codebuf

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 02:23:45 -04:00
Aaron Pham
1cbf7e106c
feat(experimental): slash commands ()
* feat(experimental): slash commands

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

* fix(jump): add binding jumping between codeblock

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

* chore: add docs

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 02:01:14 -04:00
Siyu Liu
1245508063
fix(copilot): correct typo for gpt4 () 2024-08-23 01:47:54 -04:00
Aaron Pham
279ec97582
fix: missing spec has (fixes ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 01:40:58 -04:00
Aaron Pham
ce57528961
fix(win): make sure to balance once entering ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 01:06:37 -04:00
Aaron Pham
c6d5073945
chore(llm): cut-back support ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 12:21:30 +08:00
Aaron Pham
6475407d0d
fix(llm): persistent key check for override class ()
* fix(llm): make sure to allow passing custom module

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

* fix: correct custom class

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

* fix: correct attribute

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 23:52:49 -04:00
yetone
49fabfc358
fix: synchronize the size of the input window and the input_container window () 2024-08-23 01:00:35 +08:00
Aaron Pham
ed5057448c
feat: tab switching behaviour ()
* feat: tab switching behaviour

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

* revert: features

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 00:48:20 +08:00
yetone
2e75a10556
fix: check winid is valid () 2024-08-23 00:33:48 +08:00
jkunlin
ed3c5f10e9
fix(diff): nvim_set_hl should use bg instead of background () 2024-08-22 23:47:05 +08:00
yuchanns
4112eb1d4e fix(sidebar): invalid window number 2024-08-22 17:37:37 +08:00
yetone
67c0be2bc8
fix: synchronize the size of the floating window and split window () 2024-08-22 17:01:45 +08:00
yetone
8c8d864637
fix: floating window highlights () 2024-08-22 14:46:08 +08:00
Aaron Pham
9211babf09
fix(config): join and fold correctly ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 02:09:36 -04:00
Aaron Pham
8d52229f16
refactor(llm): cleanup providers for future ops (closes ) ()
support allow_insecure and proxy ops

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 01:48:40 -04:00
yetone
380a7254ae
chore: get git root using more advanced methods () 2024-08-22 11:16:42 +08:00
MijikHna
480e35720d
added a check for git root query () 2024-08-22 09:19:30 +08:00
yetone
a08a5b8dc1
refactor: reduce split windows () 2024-08-22 03:38:22 +08:00
jihunkim0
45a47075e5
feat: add Gemini support ()
Co-authored-by: Jihun Kim <jihun.kim.uk@gmail.com>
2024-08-22 00:52:25 +08:00
yetone
c41ad591a1
fix: selected code header text () 2024-08-21 23:38:27 +08:00
yetone
58bc74d4f8
feat: add rounded opt () 2024-08-21 23:31:11 +08:00
yetone
8a62e3e225
feat: add padding to title () 2024-08-21 23:22:34 +08:00
yetone
f95feebd39
chore: scroll to end () 2024-08-21 23:20:30 +08:00
Aaron Pham
76c7972fb1
chore: remove unaligned character with options to align text ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-21 23:12:10 +08:00
yetone
5208fdc278
fix: default use global statusline () 2024-08-21 22:43:00 +08:00
yetone
62928ace70
fix: remove status line () 2024-08-21 22:31:56 +08:00
yetone
8eef44d45a
fix: set eob to a blank character () 2024-08-21 22:15:31 +08:00
Aaron Pham
184b3ef5b8
fix(type): small typo ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-21 22:14:30 +08:00
yetone
b3d14359b9
chore: delete everything related to nui-components () 2024-08-21 22:10:49 +08:00
yetone
2e48d387a9
refactor: get rid of nui-components () 2024-08-21 21:28:17 +08:00
yuchanns
b995e4aa7b fix(llm): parse_stream_data should take handler options
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-08-21 14:57:02 +08:00