sublime-text-plugin icon indicating copy to clipboard operation
sublime-text-plugin copied to clipboard

Vue Single-File Components: preview flickering

Open rubjo opened this issue 4 years ago • 2 comments

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.

rubjo avatar Mar 12 '21 07:03 rubjo

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

sergeche avatar Jun 06 '21 10:06 sergeche

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?

rubjo avatar Jun 14 '21 08:06 rubjo