You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a noticeable delay - on the order of half a second.
It's a drag but I've been living with it.
Update: I had many dozens of files open in buffers. Closing those out (rather: restarting Vim after stripping my session) restores quick switching between buffers.
I don't think I've seen this behavior in e.g. Rails projects, which can also accumulate buffers quickly.
The text was updated successfully, but these errors were encountered:
nyarly
changed the title
File switching appears to take time proportional to GOPATH size
File switching appears to take time proportional to number of open buffers [edit]
Jan 24, 2018
Could you please try and reproduce this with a minimal vimrc? This sounds like an autocmd misbehaving or firing multiple times or some such, but I'm not going to go through you huge vimrc directory to find that for you.
What did you do? (required. The issue will be closed when not provided.)
I switch files in my Go project (c.f. https://github.com/opentable/sous). e.g. Using <C-^>.
What did you expect to happen?
The new file to open nearly instantly.
What happened instead?
There's a noticeable delay - on the order of half a second.
It's a drag but I've been living with it.
Update: I had many dozens of files open in buffers. Closing those out (rather: restarting Vim after stripping my session) restores quick switching between buffers.
I don't think I've seen this behavior in e.g. Rails projects, which can also accumulate buffers quickly.
Configuration (MUST fill this out):
:version
):go version
):go env
):vim-go version:
Newest? I just did a PlugUpdate
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):I'll run down a reduced vim in the near future. In the meantime, c.f. https://github.com/nyarly/dotfiles/tree/master/neovim/.config/nvim
The text was updated successfully, but these errors were encountered: