diff options
Diffstat (limited to 'server/src/service.lua')
-rw-r--r-- | server/src/service.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 01c28f97..ee299490 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -355,6 +355,9 @@ function mt:checkWorkSpaceComplete() end function mt:_createCompileTask() + if not self._needCompile[1] and not next(self._needDiagnostics) then + return + end self._compileTask = coroutine.create(function () local uri = self._needCompile[1] if uri then |