vim-denops / denops.vim

🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno
https://vim-denops.github.io/denops-documentation/
MIT License
665 stars 33 forks source link

:+1: Add `DenopsPluginRegister:{plugin}` event #289

Closed lambdalisue closed 9 months ago

lambdalisue commented 9 months ago

SSIA

Summary by CodeRabbit

coderabbitai[bot] commented 9 months ago

[!WARNING]

Rate Limit Exceeded

@lambdalisue has exceeded the limit for the number of files or commits that can be reviewed per hour. Please wait 9 minutes and 39 seconds before requesting another review.

How to resolve this issue? After the wait time has elapsed, a review can be triggered using the @coderabbitai review command. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.
How do rate limits work? CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.
Commits Files that changed from the base of the PR and between 591abde71a858d9f0a4b8bf7a23f9ce5452eb634 and 3f23ccd3c67afa7cb0cdd4d828c23239df531e4f.

Walkthrough

The changes involve the introduction of a new event and associated functionality within the Denops plugin system for Vim. A new function has been added to handle plugin registration, and autocmds have been set up to trigger events before the registration and preparation of plugins. This allows for additional hooks and actions to be executed at these specific points in the plugin lifecycle.

Changes

File Path Change Summary
autoload/denops/plugin.vim Added s:DenopsSystemPluginRegister function and modified s:register to include an autocmd.
doc/denops.txt Introduced a new event DenopsPluginRegister with a description.
plugin/.../denops.vim Added an autocmd line to trigger the DenopsPluginRegister event.

Poem

In the land of code, where the Denops hop,
A new event springs; a gentle plop!
Before plugins nest, an autocmd chirps,
🐇 CodeRabbit smiles, as the lifecycle burps.


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (591abde) 92.59% compared to head (3f23ccd) 92.59%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #289 +/- ## ======================================= Coverage 92.59% 92.59% ======================================= Files 3 3 Lines 81 81 Branches 6 6 ======================================= Hits 75 75 Misses 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.