Closed lambdalisue closed 8 months ago
The update refactors function calls and variable declarations across various Vim script and TypeScript files. It standardizes the use of constants, updates function signatures, and enhances type checking. Notably, internal server communication methods are centralized, and dependency versions are bumped up. The changes streamline the codebase, improving maintainability and consistency.
File Pattern | Change Summary |
---|---|
autoload/denops.vim , autoload/denops/plugin.vim , autoload/denops/server.vim |
Replaced server function calls with internal server channel functions; changed variables to constants. |
autoload/denops/_internal/... |
Converted mutable variables to immutable constants; updated variable names; added global variable checks. |
denops/@denops-private/... (TypeScript files) |
Updated import versions; modified method signatures and return types; introduced new type checks; removed async keyword from functions. |
denops/@denops-private/impl_test.ts , denops/@denops-private/worker/script.ts |
Added new test cases; introduced event emitting function; replaced type predicates. |
🐇✨ In the den of code where the Vim scripts play,
Constants now reign, and old vars fade away.
Type checks stand guard, with precision so fine,
A rabbit's refactored burrow, now neatly aligned. 🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
886bfa0
) 92.59% compared to head (39e0944
) 96.47%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
SSIA
Summary by CodeRabbit
New Features
Enhancements
Refactor
Bug Fixes
Documentation
Style
Tests
Chores
Revert