updated luarc.json
This commit is contained in:
@@ -72,6 +72,13 @@ jobs:
|
||||
- name: Verify Lua Language Server Installation
|
||||
run: ./luals/bin/lua-language-server --version
|
||||
|
||||
- name: Update Json With Full Path
|
||||
run: |
|
||||
FULL_PATH=$(realpath ./.vscode/lua-addons)
|
||||
echo "full-path: $FULL_PATH"
|
||||
|
||||
jq --arg full_path "$FULL_PATH" '.Lua.workspace.library[0] = $full_path' ./.luarc.json > ./.luarc.json.tmp && mv ./.luarc.json.tmp ./.luarc.json
|
||||
|
||||
- name: Show Config
|
||||
run: cat ./.luarc.json
|
||||
|
||||
|
||||
+1
-5
@@ -4,10 +4,7 @@
|
||||
"version": "Lua 5.1"
|
||||
},
|
||||
"workspace": {
|
||||
"checkThirdParty": false,
|
||||
"library": [
|
||||
".vscode/lua-addons"
|
||||
]
|
||||
"checkThirdParty": false
|
||||
},
|
||||
"diagnostics": {
|
||||
"enable": true,
|
||||
@@ -18,7 +15,6 @@
|
||||
"undefined-field": "Warning",
|
||||
"unused-local": "Warning",
|
||||
"unused-function": "Warning"
|
||||
|
||||
},
|
||||
"groupFileStatus": {
|
||||
"ambiguity": "Any",
|
||||
|
||||
Reference in New Issue
Block a user