From ef8af3436a6a9f032e9e48c53cc52437825455ce Mon Sep 17 00:00:00 2001 From: Josef Friedrich Date: Sun, 16 Apr 2023 21:13:10 +0200 Subject: [PATCH] Link the JSON schema in config.json Add the keyword $schema to the configuration file and link the schema definition found in the LLS-Addons repository: https://raw.githubusercontent.com/LuaLS/LLS-Addons/main/schemas/addon_config.schema.json Some editors like Visual Studio Code can use this schema to validate the config.json. --- config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/config.json b/config.json index d91b262..b7e3fa8 100644 --- a/config.json +++ b/config.json @@ -1,4 +1,5 @@ { + "$schema": "https://raw.githubusercontent.com/LuaLS/LLS-Addons/main/schemas/addon_config.schema.json", "settings": { "Lua.workspace.library": [ "${3rd}/luassert/library"