Commit ffd4834
authored
refactor(icons): do not load web icons if not needed (#989)
We can set show_buffer_icons to false to disable web icons, but the
icons is still being loaded during initialization. This is
costly(loading the icon package needs ~ 20ms while the bufferlin package
needs a few ms init time) and
unnecessary when user doesn't need the icons anyways.1 parent 9f0826a commit ffd4834
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| |||
0 commit comments