emmetio / sublime-text-plugin

The essential toolkit for web-developers
https://emmet.io
MIT License
253 stars 29 forks source link

Vue Single-File Components: preview flickering #156

Open rubjo opened 3 years ago

rubjo commented 3 years ago

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 commented 3 years ago

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

rubjo commented 3 years ago

I'm guessing you are referring to the closed https://github.com/sublimehq/sublime_text/issues/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?