YCMD complains and outputs a bunch of useless error logs when you attempt to ask for completions while typing comments. It also never returns any line-errors for files shorter than 6 lines.
This adds some checks to prevent the requests, which should also help reduce pointless bandwidth usage too.
YCMD complains and outputs a bunch of useless error logs when you attempt to ask for completions while typing comments. It also never returns any line-errors for files shorter than 6 lines. This adds some checks to prevent the requests, which should also help reduce pointless bandwidth usage too.