summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Zhu <uhziel@gmail.com>2020-12-28 18:24:50 +0800
committerLei Zhu <uhziel@gmail.com>2020-12-28 18:24:50 +0800
commit0eacabba92e1b13fdbd070a8b4d081559a38dc7f (patch)
treea19b1d21422bbf0a13dbcb75557ee3e5a36f08bf
parentcb28b668db32b7afe29c9d01dfcc700b0377e266 (diff)
downloadlua-language-server-0eacabba92e1b13fdbd070a8b4d081559a38dc7f.zip
让vscode'测试'操作可以在linux、macos环境下正常运行
-rw-r--r--.vscode/launch.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index dc0bef87..7d6f526f 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -8,7 +8,13 @@
"request": "launch",
"stopOnEntry": false,
"program": "${workspaceRoot}/test.lua",
- "luaexe": "${workspaceFolder}/bin/Windows/lua-language-server.exe",
+ "luaexe": "${workspaceFolder}/bin/Windows/lua-language-server",
+ "linux": {
+ "luaexe": "${workspaceFolder}/bin/Linux/lua-language-server"
+ },
+ "osx": {
+ "luaexe": "${workspaceFolder}/bin/macOS/lua-language-server"
+ },
"arg": [
],
"consoleCoding": "utf8",