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: make the old decorations API type-safe #794

Merged
merged 9 commits into from
May 10, 2021
Merged

Conversation

aminya
Copy link
Collaborator

@aminya aminya commented May 8, 2021

Fixes #793

@aminya aminya added the bug label May 8, 2021
@UziTech
Copy link
Collaborator

UziTech commented May 8, 2021

I want to test some of the plugins before merging this and make sure they aren't going to break.

@aminya
Copy link
Collaborator Author

aminya commented May 8, 2021

Minimap cursor line fails

@aminya aminya force-pushed the type-safe-decorations-api branch from cd4c214 to f78fa69 Compare May 8, 2021 07:11
@aminya
Copy link
Collaborator Author

aminya commented May 8, 2021

Minimap cursor line fails

This seems like a bug in that plugin. If I close the text editor, the plugin still keeps the decoration.

lib/minimap.js Outdated Show resolved Hide resolved
lib/minimap.js Outdated Show resolved Hide resolved
lib/minimap.js Outdated Show resolved Hide resolved
@aminya aminya force-pushed the type-safe-decorations-api branch from 5066939 to 930ba15 Compare May 10, 2021 05:13
@aminya
Copy link
Collaborator Author

aminya commented May 10, 2021

I tried this now with all the plugins installed. I don't get any errors anywhere. Does this solve the Zen issue?

@UziTech
Copy link
Collaborator

UziTech commented May 10, 2021

Ya it looks like it does

@aminya aminya merged commit 4922ac8 into master May 10, 2021
@aminya aminya deleted the type-safe-decorations-api branch May 10, 2021 05:32
@github-actions
Copy link

🎉 This PR is included in version 4.39.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants