Skip to content

Commit 1870fe5

Browse files
committed
fix: wezterm runtime is lua 5.4 not 5.1
Also cleaned the formatting up and added schema for validation.
1 parent d275d9f commit 1870fe5

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.luarc.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
2+
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
23
"workspace.library": ["./lua/types"],
3-
"runtime.version": "Lua 5.1",
4-
"hint.enable": true,
5-
"completion.autoRequire": true,
6-
"completion.callSnippet": "Replace",
7-
"completion.displayContext": 8
4+
"runtime.version": "Lua 5.4",
5+
"hint": {
6+
"enable": true,
7+
"setType": true
8+
},
9+
"completion": {
10+
"callSnippet": "Replace",
11+
"displayContext": 8
12+
}
813
}

0 commit comments

Comments
 (0)