Slow startup time
Closed this issue · 1 comments
itmecho commented
Firstly, thanks for the fork!
I'm using this fork as part of the vim-polyglot
plugin. I'm seeing really long startup times when opening fish files. Looking at the startuptime log, I can see that it's slow due to sourcing the fish syntax file. I've tried removing vim-polyglot
and installing this fork directly and I still see the same issue.
Not sure if you have any ideas on how I could debug this further?
Neovim Version
NVIM v0.5.0-dev+1089-gdc3ca16a9
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Startup time log
Strangely, it seems like it's sourcing the file 3 times during startup and it's taking roughly 1.5 seconds each time.
These logs are from installing the plugin directly instead of through vim-polyglot
1744.123 1634.145 1634.145: sourcing <removed>/.local/share/nvim/site/pack/packer/start/vim-fish/ftplugin/fish.vim
3288.826 1457.445 1457.445: sourcing <removed>/.local/share/nvim/site/pack/packer/start/vim-fish/ftplugin/fish.vim
4775.268 1478.543 1478.543: sourcing <removed>/.local/share/nvim/site/pack/packer/start/vim-fish/ftplugin/fish.vim