summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-01 19:51:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-01 19:51:49 +0800
commit268aee4c5e0851b9cd5a391569bec5371aa124eb (patch)
tree5eea638e16fb2ad637a346e1cbaf1c590c9e91a5 /.vscode/launch.json
parent73c405b176ef9aa8468c6279fab883943def7ade (diff)
downloadlua-language-server-268aee4c5e0851b9cd5a391569bec5371aa124eb.zip
offline diagnostic
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json24
1 files changed, 22 insertions, 2 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index bfb5c94c..94991839 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -21,7 +21,7 @@
],
},
{
- "name": "attach",
+ "name": "🪡attach",
"type": "lua",
"request": "attach",
"stopOnEntry": false,
@@ -36,7 +36,7 @@
]
},
{
- "name": "build-3rd-meta",
+ "name": "🍉build-3rd-meta",
"type": "lua",
"request": "launch",
"stopOnEntry": false,
@@ -53,5 +53,25 @@
"stderr",
],
},
+ {
+ "name": "🍖cli-check",
+ "type": "lua",
+ "request": "launch",
+ "stopOnEntry": false,
+ "program": "${workspaceRoot}/main.lua",
+ "luaexe": "${workspaceFolder}/bin/lua-language-server.exe",
+ "cpath": null,
+ "arg": [
+ "--check",
+ "${workspaceRoot}",
+ ],
+ "luaVersion": "5.4",
+ "consoleCoding": "utf8",
+ "sourceCoding": "utf8",
+ "outputCapture": [
+ "print",
+ "stderr",
+ ],
+ },
]
}