34 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
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
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
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
9b8c091a33 feat: add split_width for better sentence display 2023-03-23 20:24:17 +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
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
46c69fb758 style: code format 2023-03-18 13:53:09 +08:00
JuanZoran
b9abc99086 fix: use api.nvim_buf_get_lines instead of fn.getbufoneline 2023-03-16 21:15:00 +08:00
JuanZoran
870be41bee fix: fix youdao input key calculate mistake (unicode uncode) 2023-03-16 16:07:53 +08:00
JuanZoran
9a2d3b4e0a fix: use backend local strategy instead of global strategy 2023-03-16 11:49:26 +08:00
JuanZoran
978677696e feat: add youdao backend file 2023-03-16 00:03:13 +08:00
JuanZoran
efec62d144 fix: return the latest instance instead of the first instance 2023-03-15 23:10:58 +08:00
JuanZoran
3981167d38 fix: fix lua invoke c function use main event loop 2023-03-15 22:12:55 +08:00
JuanZoran
af4bb42d59 refactor: remove do_query function 2023-03-15 20:57:28 +08:00
JuanZoran
21351b3a26 chore: use conf.theme instead of conf.style.theme 2023-03-15 19:27:21 +08:00
JuanZoran
52238cb1e7 fix: add auto_close_autocmd 2023-03-15 16:07:07 +08:00
JuanZoran
c699aaba24 fix: fix cacha miss 2023-03-15 14:30:01 +08:00
JuanZoran
da8b037523 feat: add auto_resize config for hover window 2023-03-15 12:00:37 +08:00
JuanZoran
e5f0f2bf34 feat: add auto resize animation 2023-03-15 11:34:50 +08:00
JuanZoran
baf30a3db1 fix: fix setline mistake 2023-03-15 00:18:31 +08:00
JuanZoran
f47abd1691 fix: more lsp info comment and fix backend opts error 2023-03-14 22:30:45 +08:00
JuanZoran
8a0021ead7 docs: add function explain doc 2023-03-14 18:17:07 +08:00
JuanZoran
4931bdc74a fix: backup 2023-03-14 13:18:53 +08:00
JuanZoran
02fe6c510a fix: fix buffer line index error and online process need to be fixed 2023-03-13 22:39:40 +08:00
JuanZoran
693dd0c7aa refactor: add frontend.hover.load function to set buffer content 2023-03-13 21:44:56 +08:00
JuanZoran
7731c6c8cb refactor: remove wrapper folder 2023-03-13 19:50:28 +08:00
JuanZoran
1fe20004ec refactor: begin to refactor buffer node and buffer obj 2023-03-13 11:51:46 +08:00
JuanZoran
9d0aca954d refactor: implement waitting window animation 2023-03-12 23:24:32 +08:00
JuanZoran
3c28af5314 refactor: begin to try to refactor frontend part 2023-03-12 22:28:15 +08:00