mattn / mattn/vim-lsp-settings
Very slow startup time
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.4k
- Forks
- 245
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
Hello, I noticed my vim started taking a very long time to start recently. After profiling with vim --startuptime, turns out vim-lsp-settings takes a full two seconds to initialize!
2074.801 2044.153 2042.883: sourcing /home/login/.vim/bundle/vim-lsp-settings/plugin/lsp_settings.vim
Unfortunately, the file isn't very detailed and I'm not sure what other files I could provide.
- The full startup file:
vim startup time - My
.vimrcconfiguration:.vimrc(I have no.vim-lsp-settingsconfig dir)
It may be worth noting that I'm using NixOS, and that part of the files are stored in an AFS (file server), however it wasn't as slow as that before. Is there any way to have more details over what's taking time?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the vim --startuptime output and the plugin entry point plugin/lsp_settings.vim; compare its startup work with the linked .vimrc and the absence of a .vim-lsp-settings directory. Identify what accounts for the reported two-second delay, then verify the change by rerunning vim --startuptime in a comparable setup.
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
- Needs clarification
- Newbie friendliness
- 35/100