Closed lambdalisue closed 9 months ago
The changes across various TypeScript files in the codebase reflect a significant refactoring effort. The Host
interface and its implementations in Neovim
and Vim
classes have been updated to enforce stricter parameter types for the batch
method. The DenopsImpl
class has undergone a structural overhaul, replacing the Session
with a new Service
instance, which has also been reworked to remove its reliance on Worker
and instead use direct method calls on DenopsImpl
.
File Path | Change Summary |
---|---|
.../@denops-private/host/base.ts br>`.../@denops-private/host/nvim.ts`<br.../@denops-private/host/vim.ts |
Updated batch method signature to accept an array of tuples with stricter typing. |
.../@denops-private/impl.ts |
Removed Session type, introduced Service instance, and reorganized internal structure. |
.../@denops-private/service.ts |
Replaced Worker with DenopsImpl , removed trace parameter, and updated method calls. |
🐇✨ In the realm of code, where the rabbits hop, Refactoring's done; the old patterns drop. With tuples aligned, and services anew, The den of Denops shines bright and true. 🌟🎉
TBW
Summary by CodeRabbit
Refactor
batch
function across various classes for improved type handling.Service
instance, enhancing the plugin's architecture.Service
class by integratingDenopsImpl
and simplifying method calls.Chores
Session
type and associated properties to clean up the codebase.dispose
method in theService
class.