231 Commits

Author SHA1 Message Date
JuanZoran
5b4ec8ea4e feat: execute toggle_entry if translate'string' window is available 2023-03-28 23:08:22 +08:00
JuanZoran
2246968d90 docs: add busted meta doc for type hint 2023-03-28 19:56:26 +08:00
JuanZoran
37cd2b13d9 Add z-index to hover window and refactor buffer:setline() tests in buffer_spec.lua 2023-03-28 18:00:57 +08:00
JuanZoran
0ef08fbd19 chore: try to fix ci mistakes 2023-03-27 12:27:54 +08:00
JuanZoran
0fa87770e7 chore: fix lua doc type definition for buffer[number] 2023-03-27 11:43:07 +08:00
JuanZoran
8f6e871a55 fix: fix test.yaml order 2023-03-27 11:39:05 +08:00
JuanZoran
3bc21a4923 chore: add github action for test 2023-03-27 11:28:43 +08:00
JuanZoran
a0dbca1e7a docs: add wiki link for README 2023-03-27 11:28:15 +08:00
JuanZoran
89d7e8f439 docs: update readme.md 2023-03-27 11:28:15 +08:00
JuanZoran
3c2dff75e2 docs: update README.md demo.mp4 2023-03-27 11:28:15 +08:00
JuanZoran
cee8e5107a docs: add star history for readme.md 2023-03-27 11:28:15 +08:00
JuanZoran
7f1f8aa262 docs: add simple explain readme 2023-03-27 11:28:15 +08:00
JuanZoran
eacb06cd30 test: add simple test for buffer:setline() 2023-03-27 10:28:03 +08:00
JuanZoran
c5216e2b37 feat: add prompt for waitting window 2023-03-26 20:14:31 +08:00
JuanZoran
529a1639c6 chore: sync progress 2023-03-25 09:55:29 +08:00
JuanZoran
d2f00c8773 fix: when download abort then continue last time 2023-03-24 17:02:58 +08:00
JuanZoran
a4dff90064 refactor: remove auto setup frontend keymap 2023-03-24 11:09:04 +08:00
JuanZoran
82fa2a008a style: code format use lua_ls 2023-03-24 00:56:36 +08:00
JuanZoran
9f5a81249c fix: fix wrong display size caculate remove util.display_size func 2023-03-24 00:10:14 +08:00
JuanZoran
b44ab4bf2e refactor: rewrite TransNode and use main_loop in process instead of buffer function 2023-03-23 23:19:19 +08:00
JuanZoran
9b8c091a33 feat: add split_width for better sentence display 2023-03-23 20:24:17 +08:00
JuanZoran
a3b0a21d08 refactor: remove conf.query, use conf.frontend.query 2023-03-23 17:31:02 +08:00
JuanZoran
6def81f2c6 refactor: change default dict dir to plugin dir/extra, change Trans.json style 2023-03-23 15:12:49 +08:00
JuanZoran
84e06a268e refactor: rewrite TransNode and use main_loop in process instead of buffer function 2023-03-23 10:17:41 +08:00
JuanZoran
8e9ccfc8f7 refactor: remove TransMode, use vim-mode 2023-03-22 23:19:31 +08:00
JuanZoran
e90b55d297 feat: add TranslateInput command 2023-03-22 22:41:39 +08:00
JuanZoran
2bb4b4d46b feat: add TranslateInput command 2023-03-22 22:27:27 +08:00
JuanZoran
34a01920a5 chore: add lsp doc 2023-03-22 21:55:08 +08:00
JuanZoran
f63574026a refactor: try to add unit test 2023-03-22 14:37:44 +08:00
JuanZoran
8be4fb7303 fix: fix toggle entry will trigger auto_close events 2023-03-19 20:15:36 +08:00
JuanZoran
3eae6a40e9 fix: fix backend order mistake 2023-03-18 23:49:01 +08:00
JuanZoran
52d2741804 refactor: use online query method template instead of backend.query todo online query 2023-03-18 23:48:54 +08:00
JuanZoran
b2cafe3448 feat: add free backend iciba.lua and try to use template method for querying backend data 2023-03-18 23:48:54 +08:00
JuanZoran
46c69fb758 style: code format 2023-03-18 13:53:09 +08:00
JuanZoran
a6a5a33bff fix: fix typo and add debug print option 2023-03-17 22:30:52 +08:00
JuanZoran
e56267ea8c feat: more icon support 2023-03-17 10:38:26 +08:00
JuanZoran
641a90de6b chore(doc): Auto generate docs 2023-03-17 02:18:27 +00:00
JuanZoran
aabe1f3a8f feat: more icon support 2023-03-17 09:31:11 +08:00
JuanZoran
1367537926 feat: remove duplicate strs in web definition 2023-03-17 09:27:02 +08:00
JuanZoran
9e74b5454e chore(doc): Auto generate docs 2023-03-17 00:17:36 +00:00
JuanZoran
ee7e3b028f fix: fix miss ',' and better youdao web format style 2023-03-17 08:16:55 +08:00
JuanZoran
4f68e4189f chore(doc): Auto generate docs 2023-03-17 00:15:00 +00:00
Zoran
b5cae7bed1
Merge pull request #31 from felixonmars/patch-1
Correct typos in init.lua
2023-03-17 08:14:25 +08:00
Felix Yan
c17e8adb80
Correct typos in init.lua 2023-03-17 02:10:41 +02:00
JuanZoran
75fdfc6880 chore: sync 2023-03-16 22:59:42 +08:00
JuanZoran
b9abc99086 fix: use api.nvim_buf_get_lines instead of fn.getbufoneline 2023-03-16 21:15:00 +08:00
JuanZoran
4a0f9b5c85 fix: try to fix install.lua mistakes 2023-03-16 19:35:08 +08:00
JuanZoran
0d4eec6f2e feat: begin to render youdao Translation window 2023-03-16 17:17:30 +08:00
JuanZoran
870be41bee fix: fix youdao input key calculate mistake (unicode uncode) 2023-03-16 16:07:53 +08:00
JuanZoran
020876d8c4 chore(doc): Auto generate docs 2023-03-16 03:50:07 +00:00