490 Commits

Author SHA1 Message Date
Aaron Pham
1cbf7e106c
feat(experimental): slash commands (#162)
* 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 (#164) 2024-08-23 01:47:54 -04:00
Aaron Pham
279ec97582
fix: missing spec has (fixes #161) (#163)
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 (#160)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 01:06:37 -04:00
Aaron Pham
c6d5073945
chore(llm): cut-back support (#159)
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 (#158)
* 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 (#156) 2024-08-23 01:00:35 +08:00
Aaron Pham
ed5057448c
feat: tab switching behaviour (#155)
* 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 (#154) 2024-08-23 00:33:48 +08:00
jkunlin
ed3c5f10e9
fix(diff): nvim_set_hl should use bg instead of background (#153) 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 (#151) 2024-08-22 17:01:45 +08:00
yetone
8c8d864637
fix: floating window highlights (#149) 2024-08-22 14:46:08 +08:00
Aaron Pham
9211babf09
fix(config): join and fold correctly (#148)
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 #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
380a7254ae
chore: get git root using more advanced methods (#146) 2024-08-22 11:16:42 +08:00
MijikHna
480e35720d
added a check for git root query (#145) 2024-08-22 09:19:30 +08:00
yetone
a08a5b8dc1
refactor: reduce split windows (#143) 2024-08-22 03:38:22 +08:00
jihunkim0
45a47075e5
feat: add Gemini support (#142)
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 (#141) 2024-08-21 23:38:27 +08:00
yetone
84d037e54d
docs: update windows opt (#140) 2024-08-21 23:33:54 +08:00
yetone
58bc74d4f8
feat: add rounded opt (#139) 2024-08-21 23:31:11 +08:00
yetone
8a62e3e225
feat: add padding to title (#138) 2024-08-21 23:22:34 +08:00
yetone
f95feebd39
chore: scroll to end (#137) 2024-08-21 23:20:30 +08:00
Aaron Pham
76c7972fb1
chore: remove unaligned character with options to align text (#136)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-21 23:12:10 +08:00
yetone
5208fdc278
fix: default use global statusline (#133) 2024-08-21 22:43:00 +08:00
yetone
62928ace70
fix: remove status line (#132) 2024-08-21 22:31:56 +08:00
yetone
8eef44d45a
fix: set eob to a blank character (#131) 2024-08-21 22:15:31 +08:00
Aaron Pham
184b3ef5b8
fix(type): small typo (#130)
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 (#129) 2024-08-21 22:10:49 +08:00
Hanchin Hsieh
83d067695e
chore(build): support build lua-tiktoken on Windows (#128)
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-08-21 21:59:13 +08:00
yetone
2e48d387a9
refactor: get rid of nui-components (#118) 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
yuchanns
0084d8b0cd fix(llm): incorrect condition to call parse_stream_data 2024-08-21 13:53:32 +08:00
Hanchin Hsieh
0743bda2b6
fix(llm): do not use parse_stream_data if nil (#124) 2024-08-21 13:11:00 +08:00
Aaron Pham
76dd441e25
chore(copilot): check for valid file in addition to plugin setup (#120)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 19:00:41 -04:00
Aaron Pham
fe30ef6782
docs: add options for copilot (#119) 2024-08-20 14:29:44 -04:00
Aaron Pham
175eff5cac
feat(llm): copilot (closes #68) (#116)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 14:24:33 -04:00
Aaron Pham
7c7fd6e315
chore(llm): expose parse_and_call handler (closes #105) (#114)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 07:54:58 -04:00
Aaron Pham
94adc992a6
chore(llm): expose types for support functions (#113)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-20 07:43:53 -04:00
yetone
00f1e296b0
fix: do not write to invalid buffer (#112) 2024-08-20 17:58:05 +08:00
yetone
fcd7a82ff7
feat: use devicon instead of emoji (#111) 2024-08-20 17:51:14 +08:00
yetone
75ed191f43
fix: switch back to non-streaming update mode (#106) 2024-08-20 10:39:09 +08:00
Aaron Pham
2d87dff33b
docs: update links to wiki (#104) 2024-08-19 19:19:45 -04:00
Aaron Pham
5f74c54e55
chore: remove unused functions and simplify with utils (#103)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 19:15:58 -04:00
Aaron Pham
410824e357
fix(selection): hint not apply correctly (#101)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 18:26:25 -04:00
Aaron Pham
5d866379b6
chore(llm): expose prompt as variable (#100)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 16:10:06 -04:00
Aaron Pham
2a0311fbf1
chore(build): add options to build from source on linux (#98)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 15:41:18 -04:00
yetone
78213d8e07
docs: add back highlights doc (#96) 2024-08-20 01:57:24 +08:00
yetone
2d160fc5d7
fix: callback was not called in stream mode (#95) 2024-08-20 01:51:20 +08:00