Slow vim startup with large files
This also seems to drastically slow down nvim startup with larger files, on the order of seconds for files with thousands of lines
Originally posted by @crides in https://github.com/datwaft/bubbly.nvim/issues/104#issuecomment-846458949
This may be fixed with the refactor I am doing to fix some other problems, it may need testing.
hi, what is the status with regards to this issue?
hi, what is the status with regards to this issue?
This is probably caused by the creation of the highlights for the statusline, as every possible combination is created at once at startup.
There was a try to fix the creation of so many highlights, but it didn't work properly (#104).
Because of that I have tried to continue with the planned refactor, which has the following planned enhancements:
- only create the highlights needed
- custom bubble as functions
- different statusline per buffer depending on filetype
I haven't had much time to continue with the refactor because I began to work at the same time that I am finishing my degree.
When I get confortable enough with my time I will continue with the refactor, as it is very time consuming.
Meanwhile you or someone else can create a pull request to fix #104, which is probably the cause of this issue.