forked from qt-creator/qt-creator
LuaLS: Change startBehavior to RequiresProject
The Language Server works better when started per project. Change-Id: I96ec7204292d7e41119fd7d26b988a9a3a17dc37 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -102,7 +102,7 @@ local function setupClient()
|
|||||||
mimeTypes = { 'text/x-lua' }
|
mimeTypes = { 'text/x-lua' }
|
||||||
},
|
},
|
||||||
settings = Settings,
|
settings = Settings,
|
||||||
startBehavior = "RequiresFile",
|
startBehavior = "RequiresProject",
|
||||||
onStartFailed = function()
|
onStartFailed = function()
|
||||||
a.sync(function()
|
a.sync(function()
|
||||||
if IsTryingToInstall == true then
|
if IsTryingToInstall == true then
|
||||||
|
|||||||
Reference in New Issue
Block a user