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

Duplicated syntax formatters when adding same syntax #573

Closed
jcubic opened this issue May 17, 2020 · 0 comments
Closed

Duplicated syntax formatters when adding same syntax #573

jcubic opened this issue May 17, 2020 · 0 comments
Labels
Bug feature resolved if issue is resolved, it will be open until merge with master

Comments

@jcubic
Copy link
Owner

jcubic commented May 17, 2020

Issue summary

When you call same syntax multiple times, terminal created duplicated formatters

Expected behavior

It should remove old syntax formatter and create new one or ignore when there is one already

Actual behavior

There are duplicated formatters

Steps to reproduce

execute:

$.terminal.syntax("scheme");
$.terminal.syntax("scheme");
$.terminal.syntax("scheme");

there will be 3 scheme formatters.

jcubic added a commit that referenced this issue Jul 4, 2020
@jcubic jcubic added the resolved if issue is resolved, it will be open until merge with master label Jul 4, 2020
@jcubic jcubic closed this as completed Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug feature resolved if issue is resolved, it will be open until merge with master
Projects
None yet
Development

No branches or pull requests

1 participant