diff --git a/lua/Trans/README.md b/lua/Trans/README.md new file mode 100644 index 0000000..93d2545 --- /dev/null +++ b/lua/Trans/README.md @@ -0,0 +1,8 @@ +# TODO + + +- [TODO](#todo) + + +- [ ] Refactor query engine to 'Backend' and 'Frontend' +- [ ] Use `Trans.install` instead of `install.sh` diff --git a/lua/Trans/query/baidu.lua b/lua/Trans/backend/baidu.lua similarity index 100% rename from lua/Trans/query/baidu.lua rename to lua/Trans/backend/baidu.lua diff --git a/lua/Trans/query/offline.lua b/lua/Trans/backend/offline.lua similarity index 100% rename from lua/Trans/query/offline.lua rename to lua/Trans/backend/offline.lua diff --git a/lua/Trans/query/youdao.lua b/lua/Trans/backend/youdao.lua similarity index 100% rename from lua/Trans/query/youdao.lua rename to lua/Trans/backend/youdao.lua diff --git a/lua/Trans/view/float.lua b/lua/Trans/frontend/float.lua similarity index 100% rename from lua/Trans/view/float.lua rename to lua/Trans/frontend/float.lua diff --git a/lua/Trans/view/hover.lua b/lua/Trans/frontend/hover.lua similarity index 100% rename from lua/Trans/view/hover.lua rename to lua/Trans/frontend/hover.lua diff --git a/lua/Trans/ui/spinner.lua b/lua/Trans/style/spinner.lua similarity index 100% rename from lua/Trans/ui/spinner.lua rename to lua/Trans/style/spinner.lua diff --git a/lua/Trans/ui/theme.lua b/lua/Trans/style/theme.lua similarity index 100% rename from lua/Trans/ui/theme.lua rename to lua/Trans/style/theme.lua diff --git a/lua/Trans/node.lua b/lua/Trans/util/node.lua similarity index 100% rename from lua/Trans/node.lua rename to lua/Trans/util/node.lua diff --git a/lua/Trans/buffer.lua b/lua/Trans/wrapper/buffer.lua similarity index 100% rename from lua/Trans/buffer.lua rename to lua/Trans/wrapper/buffer.lua diff --git a/lua/Trans/window.lua b/lua/Trans/wrapper/window.lua similarity index 100% rename from lua/Trans/window.lua rename to lua/Trans/wrapper/window.lua