From 2704fd5c67d1963f3b7b1cdc67659b1d8fa25743 Mon Sep 17 00:00:00 2001 From: Josef Friedrich Date: Sun, 16 Apr 2023 21:01:56 +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 71e12fc..47f4c5f 100644 --- a/config.json +++ b/config.json @@ -1,3 +1,4 @@ { + "$schema" : "https://raw.githubusercontent.com/LuaLS/LLS-Addons/main/schemas/addon_config.schema.json", "words" : [ "require[%s%(\"']+luassert[%)\"']" ] }