tern_for_vim icon indicating copy to clipboard operation
tern_for_vim copied to clipboard

g:tern_request_timeout default value

Open pangchol opened this issue 7 years ago • 1 comments

I think the default value of g:tern_request_timeout need set to biger than 1. cause I ofen get the ”time out“ warning when I add some ”loadEagerly“ files in .tern_project. it obvious that 1 second is no enough to get the query return when the project is more than one file.

pangchol avatar Mar 22 '17 05:03 pangchol

Does attached change help? It pre-analyzes the files that are loaded eagerly to avoid taking too long on the first request. A pull request that makes it possible to configure the timeout would also be accepted.

marijnh avatar Mar 22 '17 07:03 marijnh