Skip to content

Commit ff9103a

Browse files
committed
Merge branch 'master' of github.com:CppCXY/lua-language-server
2 parents 40f191a + 82bcfef commit ff9103a

File tree

246 files changed

+706724
-12413
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

246 files changed

+706724
-12413
lines changed
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
name: Bug Report
2+
description: Report a bug with the lua-language-server
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: >
7+
**Please check for similar issues before continuing!**
8+
- type: dropdown
9+
id: client
10+
attributes:
11+
label: How are you using the lua-language-server?
12+
options:
13+
- Visual Studio Code Extension (sumneko.lua)
14+
- NeoVim
15+
- Kakoune
16+
- Command Line
17+
- Other
18+
validations:
19+
required: true
20+
- type: dropdown
21+
id: OS
22+
attributes:
23+
label: Which OS are you using?
24+
options:
25+
- Windows
26+
- Linux
27+
- MacOS
28+
- Windows WSL
29+
- Other
30+
validations:
31+
required: true
32+
- type: dropdown
33+
id: type
34+
attributes:
35+
label: What is the issue affecting?
36+
description: Please select all of the areas affected by this issue.
37+
multiple: true
38+
options:
39+
- Annotations
40+
- Type Checking
41+
- Completion
42+
- Diagnostics/Syntax Checking
43+
- Hover
44+
- Libraries
45+
- Formatting
46+
- Spell Checking
47+
- Plugins
48+
- Other
49+
validations:
50+
required: true
51+
- type: textarea
52+
id: expected
53+
attributes:
54+
label: Expected Behaviour
55+
description: What is the expected behaviour?
56+
validations:
57+
required: true
58+
- type: textarea
59+
id: actual
60+
attributes:
61+
label: Actual Behaviour
62+
description: What is actually happening that is an error?
63+
validations:
64+
required: true
65+
- type: textarea
66+
id: reproduction
67+
attributes:
68+
label: Reproduction steps
69+
description: >
70+
Please provide steps to reproduce the error. The more detail the better
71+
as it helps us fully understand the issue.
72+
value: |
73+
1. Go to '...'
74+
2. Click '...'
75+
3. See error '...'
76+
validations:
77+
required: true
78+
- type: textarea
79+
id: additional-notes
80+
attributes:
81+
label: Additional Notes
82+
description: >
83+
Please provide any additional notes, context,
84+
and media you have.
85+
- type: textarea
86+
id: log-file
87+
attributes:
88+
label: Log File
89+
description: >
90+
Please provide your log file. Refer to the wiki to find your log file:
91+
https://github.com/sumneko/lua-language-server/wiki/FAQ#where-can-i-find-the-log-file
92+
- type: markdown
93+
attributes:
94+
value: |
95+
Thank you very much for helping improve the language server! ❤️

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
LICENSE
8484
changelog.md
8585
locale
86+
doc
8687
meta
8788
script
8889

.luarc.json

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
"disable": [
44
"close-non-object"
55
],
6-
"neededFileStatus": {
7-
"undefined-field": "Any",
8-
"await-in-sync": "Any",
9-
"not-yieldable": "Any",
10-
"discard-returns": "Any",
11-
"redundant-parameter": "Any",
12-
"missing-parameter": "Any",
13-
"need-check-nil": "Any",
14-
"redundant-value": "Any",
15-
"deprecated": "Any"
6+
"groupFileStatus": {
7+
"ambiguity": "Any",
8+
"await": "Any",
9+
"duplicate": "Any",
10+
"global": "Any",
11+
"luadoc": "Any",
12+
"redefined": "Any",
13+
"strict": "Any",
14+
"type-check": "Any",
15+
"unbalanced": "Any",
16+
"unused": "Any"
1617
},
1718
"ignoredFiles": "Opened",
1819
"libraryFiles": "Opened"
@@ -23,23 +24,24 @@
2324
"script/?.lua",
2425
"script/?/init.lua",
2526
"test/?.lua",
26-
"test/?/init.lua"
27+
"test/?/init.lua",
28+
"script/meta/?.lua"
2729
],
2830
"pathStrict": true
2931
},
3032
"workspace": {
3133
"maxPreload": 1600,
3234
"preloadFileSize": 1000,
3335
"ignoreDir": [
34-
"locale/",
35-
"libs/",
36-
"3rd",
37-
".vscode",
38-
"meta"
36+
"/locale/",
37+
"/libs/",
38+
"/3rd",
39+
"/.vscode",
40+
"/meta"
3941
],
40-
"library": [
41-
"script/meta",
42-
"bin"
43-
]
42+
"checkThirdParty": false
43+
},
44+
"type": {
45+
"castNumberToInteger": false
4446
}
4547
}

.vscode/launch.json

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
"request": "launch",
99
"stopOnEntry": false,
1010
"program": "${workspaceRoot}/test.lua",
11-
"luaexe": "${workspaceFolder}/bin/lua-language-server.exe",
11+
"luaexe": "${workspaceFolder}/bin/lua-language-server",
1212
"cpath": null,
1313
"arg": [
1414
],
1515
"luaVersion": "5.4",
16-
"consoleCoding": "utf8",
1716
"sourceCoding": "utf8",
1817
"console": "internalConsole",
1918
"outputCapture": [
@@ -26,15 +25,24 @@
2625
"type": "lua",
2726
"request": "attach",
2827
"stopOnEntry": false,
29-
"address": "127.0.0.1:11413",
28+
"address": "127.0.0.1:11427",
3029
"outputCapture": [
3130
],
31+
"sourceFormat": "string",
3232
"sourceMaps": [
3333
[
34-
"./*",
35-
"${workspaceFolder}/*"
34+
"script/*",
35+
"${workspaceFolder}/script/*"
3636
]
37-
]
37+
],
38+
"windows": {
39+
"sourceMaps": [
40+
[
41+
"script\\*",
42+
"${workspaceFolder}/script/*"
43+
]
44+
],
45+
},
3846
},
3947
{
4048
"name": "🍉build-3rd-meta",
@@ -43,11 +51,10 @@
4351
"stopOnEntry": false,
4452
"luaexe": "${workspaceFolder}/bin/lua-language-server",
4553
"program": "${workspaceRoot}/tools/build-3rd-meta.lua",
46-
"cpath": "${workspaceFolder}/bin/?.dll",
54+
"cpath": "${workspaceFolder}/bin/?.dll;${workspaceFolder}/bin/?.so",
4755
"arg": [
4856
],
4957
"luaVersion": "latest",
50-
"consoleCoding": "utf8",
5158
"sourceCoding": "utf8",
5259
"outputCapture": [
5360
"print",
@@ -60,14 +67,13 @@
6067
"request": "launch",
6168
"stopOnEntry": false,
6269
"program": "${workspaceRoot}/main.lua",
63-
"luaexe": "${workspaceFolder}/bin/lua-language-server.exe",
70+
"luaexe": "${workspaceFolder}/bin/lua-language-server",
6471
"cpath": null,
6572
"arg": [
6673
"--check",
6774
"${workspaceRoot}",
6875
],
6976
"luaVersion": "5.4",
70-
"consoleCoding": "utf8",
7177
"sourceCoding": "utf8",
7278
"outputCapture": [
7379
"print",
@@ -81,11 +87,27 @@
8187
"stopOnEntry": false,
8288
"luaexe": "${workspaceFolder}/bin/lua-language-server",
8389
"program": "${workspaceRoot}/tools/locale.lua",
84-
"cpath": "${workspaceFolder}/bin/?.dll",
90+
"cpath": "${workspaceFolder}/bin/?.dll;${workspaceFolder}/bin/?.so",
91+
"arg": [
92+
],
93+
"luaVersion": "latest",
94+
"sourceCoding": "utf8",
95+
"outputCapture": [
96+
"print",
97+
"stderr",
98+
],
99+
},
100+
{
101+
"name": "🀄build-doc",
102+
"type": "lua",
103+
"request": "launch",
104+
"stopOnEntry": false,
105+
"luaexe": "${workspaceFolder}/bin/lua-language-server",
106+
"program": "${workspaceRoot}/tools/build-doc.lua",
107+
"cpath": "${workspaceFolder}/bin/?.dll;${workspaceFolder}/bin/?.so",
85108
"arg": [
86109
],
87110
"luaVersion": "latest",
88-
"consoleCoding": "utf8",
89111
"sourceCoding": "utf8",
90112
"outputCapture": [
91113
"print",

0 commit comments

Comments
 (0)