From 1870fe5d6b77c284d1150a054cbac230373938d1 Mon Sep 17 00:00:00 2001 From: "C.D. MacEachern" Date: Sat, 2 Aug 2025 21:29:55 -0400 Subject: [PATCH] fix: wezterm runtime is lua 5.4 not 5.1 Also cleaned the formatting up and added schema for validation. --- .luarc.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.luarc.json b/.luarc.json index b94e61e..2cf3ceb 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,8 +1,13 @@ { + "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", "workspace.library": ["./lua/types"], - "runtime.version": "Lua 5.1", - "hint.enable": true, - "completion.autoRequire": true, - "completion.callSnippet": "Replace", - "completion.displayContext": 8 + "runtime.version": "Lua 5.4", + "hint": { + "enable": true, + "setType": true + }, + "completion": { + "callSnippet": "Replace", + "displayContext": 8 + } }