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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LJ Sonic
lua-language-server-srb2
Commits
89c11e87
Commit
89c11e87
authored
4 years ago
by
最萌小汐
Browse files
Options
Downloads
Patches
Plain Diff
clean up code
parent
7d1c0016
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
main.lua
+2
-1
2 additions, 1 deletion
main.lua
test.lua
+0
-1
0 additions, 1 deletion
test.lua
with
2 additions
and
2 deletions
main.lua
+
2
−
1
View file @
89c11e87
...
...
@@ -13,6 +13,8 @@ local function loadArgs()
value
=
false
elseif
tonumber
(
value
)
then
value
=
tonumber
(
value
)
elseif
value
:
sub
(
1
,
1
)
==
'"'
and
value
:
sub
(
-
1
,
-
1
)
==
'"'
then
value
=
value
:
sub
(
2
,
-
2
)
end
_G
[
key
:
upper
()]
=
value
end
...
...
@@ -20,7 +22,6 @@ end
loadArgs
()
LANG
=
LANG
or
'en-US'
LOGPATH
=
LOGPATH
or
(
ROOT
:
string
()
..
'/log'
)
METAPATH
=
METAPATH
or
(
ROOT
:
string
()
..
'/meta'
)
...
...
This diff is collapsed.
Click to expand it.
test.lua
+
0
−
1
View file @
89c11e87
...
...
@@ -7,7 +7,6 @@ package.path = package.path
..
';'
..
rootPath
..
'/test/?/init.lua'
local
fs
=
require
'bee.filesystem'
ROOT
=
fs
.
path
(
rootPath
)
LANG
=
'zh-CN'
TEST
=
true
DEVELOP
=
true
LOGPATH
=
LOGPATH
or
(
ROOT
..
'/log'
)
...
...
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