Startify adds ~100ms to VimEnter autocommand
- Dominant language
- Vim Script
- Stars
- 5.4k
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
Startify seems to add 100ms or so to VimEnter autocommand. When using dstein64/vim-startuptime to profile startuptime
```
event time percent
VimEnter autocommand 109.76 27.92
```
If I comment out "set filetype=startify" on line 161 of autoload/startify.vim VimEnter autocommand returns to normal duration
```
event time percent
VimEnter autocommand 12.08 4.76
```
Is this expected or can it be improved?
Contributor guide
Research direction
Reproduce the startup profile with dstein64/vim-startuptime, then inspect autoload/startify.vim around line 161, where `set filetype=startify` is enabled during VimEnter. Compare the VimEnter timings with and without that setting; done means determining whether the delay is expected and documenting or improving the measured behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100