Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lua-language-server-srb2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LJ Sonic
lua-language-server-srb2
Commits
7f6f395e
Unverified
Commit
7f6f395e
authored
Nov 9, 2023
by
Rebecca Turner
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Fix backwards compatability with `Lua.workspace.checkThirdParty`"
This reverts commit
13a24eef
.
parent
8e880ad5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/library.lua
+2
-6
2 additions, 6 deletions
script/library.lua
with
2 additions
and
6 deletions
script/library.lua
+
2
−
6
View file @
7f6f395e
...
...
@@ -610,13 +610,9 @@ local function check3rd(uri)
end
local checkThirdParty = config.get(uri, '
Lua
.
workspace
.
checkThirdParty
')
-- Backwards compatability: `checkThirdParty` used to be a boolean.
-- Note: `checkThirdParty` is defined as a string, so if a boolean is
-- supplied, it'
s
converted
to
a
string
by
the
`
config
.
config
`
module
.
-- Hence we check for the strings `'true'` and `'false`' here, rather than
-- the boolean literals.
if
checkThirdParty
==
'Disable'
or
checkThirdParty
==
'false'
then
if not checkThirdParty or checkThirdParty == '
Disable
' then
return
elseif
checkThirdParty
==
'
true
'
then
elseif checkThirdParty == true then
checkThirdParty = '
Ask
'
end
local scp = scope.getScope(uri)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment