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

fix: provide a class for vim.api #117

Merged
merged 2 commits into from
Feb 6, 2023
Merged

Conversation

lewis6991
Copy link
Contributor

@lewis6991 lewis6991 commented Feb 4, 2023

This works around a false-error in sumneko where it cannot determine the
type of:

 local a = vim.api  -- cannot infer type of a

By defining an explicit class for vim.api we avoid this error.

This works around a false-error in sumneko where it cannot determine the
type of:

 local a = vim.api  -- cannot infer type of a

By defining an explicit class for vim.api we avoid this error.
@folke folke merged commit 9737bfc into folke:main Feb 6, 2023
@folke
Copy link
Owner

folke commented Feb 6, 2023

Awesome, thanks!

folke added a commit that referenced this pull request Feb 6, 2023
@T-727 T-727 mentioned this pull request Feb 6, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants