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

Vue Single-File Components: preview flickering #156

Open
rubjo opened this issue Mar 12, 2021 · 2 comments
Open

Vue Single-File Components: preview flickering #156

rubjo opened this issue Mar 12, 2021 · 2 comments

Comments

@rubjo
Copy link

rubjo commented Mar 12, 2021

Hi,

Thanks for making this plugin!

Sublime Text 4: In Vue SFCs, the preview usually doesn't stay visible when typing. (Usually as in 99% of the time)

Behaviour with regular HTML syntax: as expected
Skjermopptak 2021-03-12 kl  08 33 21

Behaviour in a Vue SFC: preview is visible for a split second after a keystroke. On line/abbreviation focus by mouse click, the preview will always show.
Skjermopptak 2021-03-12 kl  08 34 40

Any ideas? Emmet abbreviations always work when expanding them.

@sergeche
Copy link
Member

sergeche commented Jun 6, 2021

Flickering is caused by ST itself, it should be fixed in recent ST4 version

@rubjo
Copy link
Author

rubjo commented Jun 14, 2021

I'm guessing you are referring to the closed sublimehq/sublime_text#3107.

For me, this still doesn't work on latest ST (4106).

Since it works in a vanilla HTML file, is it possible that https://github.com/vuejs/vue-syntax-highlight breaks the Emmet preview?

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

No branches or pull requests

2 participants