From cb67b4e086f36536e909ce0e97ea3e5792d0b75f Mon Sep 17 00:00:00 2001 From: XeroOl Date: Thu, 27 Jun 2024 01:17:04 -0500 Subject: [PATCH] readme changes --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e4f7f3e..0a5a9f5 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ fennel-ls default settings: "fennel-ls": { "fennel-path": "./?.fnl;./?/init.fnl;src/?.fnl;src/?/init.fnl", "macro-path": "./?.fnl;./?/init-macros.fnl;./?/init.fnl;src/?.fnl;src/?/init-macros.fnl;src/?/init.fnl", + "version": "lua54", "checks": { "unused-definition": true, "unknown-module-field": true, @@ -88,6 +89,7 @@ fennel-ls default settings: "op-with-no-arguments": true, "multival-in-middle-of-call": true }, + "native-libraries": [] "extra-globals": "" } } @@ -95,6 +97,10 @@ fennel-ls default settings: extra-globals: Space separated list of allowed global identifiers; in addition to a set of predefined lua globals. +version: one of lua51, lua52, lua53, or lua54. + +native-libraries: either [] or ["tic80"] for now. This setting controls which extra documentation fennel-ls can load in to your environment. + Your editor can send these settings using one of these two methods: * The client sends an `initialize` request with the structure `{initializationOptions: {"fennel-ls": {...}}, ...}` * The client sends a `workspace/didChangeConfiguration` notfication containing the field `{settings: {"fennel-ls": {YOUR_SETTINGS}}}`