Closed ptrv closed 7 years ago
This is a small optimization for ycmd-eldoc.
ycmd-eldoc
GetTypeImprecise does not reparse the buffer like GetType and since we parsing the buffer on many other events, I guess it is totally fiine to use this. Ask the server first it the subcommand is supported.
GetTypeImprecise
GetType
I think this should also go into emacs-ycmd 1.2
Nice catch! Fixed!
Awesome, thanks!
This is a small optimization for
ycmd-eldoc
.GetTypeImprecise
does not reparse the buffer likeGetType
and since we parsing the buffer on many other events, I guess it is totally fiine to use this. Ask the server first it the subcommand is supported.I think this should also go into emacs-ycmd 1.2