File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1111* ` FIX ` [ #1368 ] ( https://github.com/sumneko/lua-language-server/issues/1368 )
1212* ` FIX ` [ #1370 ] ( https://github.com/sumneko/lua-language-server/issues/1370 )
1313* ` FIX ` [ #1375 ] ( https://github.com/sumneko/lua-language-server/issues/1375 )
14+ * ` FIX ` [ #1391 ] ( https://github.com/sumneko/lua-language-server/issues/1391 )
1415
1516## 3.5.0
1617` 2022-7-19 `
Original file line number Diff line number Diff line change @@ -504,6 +504,10 @@ local function check3rd(uri)
504504 if not config .get (uri , ' Lua.workspace.checkThirdParty' ) then
505505 return
506506 end
507+ local scp = scope .getScope (uri )
508+ if not scp :get ' canCheckThirdParty' then
509+ return
510+ end
507511 local thirdConfigs = load3rdConfig (uri ) or false
508512 if not thirdConfigs then
509513 return
515519local function check3rdOfWorkspace (suri )
516520 local scp = scope .getScope (suri )
517521 scp :set (' thirdConfigsCache' , nil )
522+ scp :set (' canCheckThirdParty' , true )
518523 local id = ' check3rdOfWorkspace:' .. scp :getName ()
519524 await .close (id )
520525 --- @async
You can’t perform that action at this time.
0 commit comments