Open chrisgrieser opened 1 year ago
When do you have a slowdown? When expanding abbreviation?
when expanding, but also when any sort of typing results in a visible lag, e.g. typing pr10
takes a second before the characters show up.
When disabling auto_mark
, the typing itself gets quicker again, but the manual expansion via a hotkey is still very laggy.
I have a larger CSS files which contains a few base64-encoded fonts. (the css file is ~800kb of which 650kb are the fonts). I noticed a considerable slowdown, similar to what has previously been described in #143.
I tested removing all base64 fonts, and Emmet is blazingly fast. For context, I used a fresh install of the plugin, without any changes to the configuration in
Emmet.sublime-settings
(settingauto_mark
to false also didn't result in any noticeable speedup).Not sure about how exactly Emmet works, but considering the format, would it maybe be possible for emmet to simply ignore things base64-encoded lines? (or all of
@font-face
, if that's easier to implement?)