Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring and tests for plugin Host and decorators #559

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    6c648c0 View commit details
    Browse the repository at this point in the history
  2. refactor: add typing for Handler, revise typings in decorators

    - `Handler` is a structured subtype of `Callable` decorated by pynvim
      decorators for RPC handlers; this type provides static typing for the
      private fields internally set by pynvim decorators. This way, we have
      a better static typing and thus no need to rely on `hasattr` checks.
    
    - Add minimal test cases for other decorator types.
    wookayin committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    950f441 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dda270e View commit details
    Browse the repository at this point in the history