From be940343cd250122682d16bdf94004557a3590ca Mon Sep 17 00:00:00 2001 From: Damian Tarnawski Date: Tue, 2 Apr 2024 22:59:16 +0200 Subject: Add enable_procedure_snippet to ols.json schema --- README.md | 2 +- misc/ols.schema.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8293b31..385dbd4 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Options: `enable_inlay_hints`: Turn on inlay hints for editors that support it. -`enable_procedure_snippet`: Use snippets when completing procedures. +`enable_procedure_snippet`: Use snippets when completing procedures—adds parenthesis after the name. _(Enabled by default)_ `odin_command`: Allows you to specify your Odin location, instead of just relying on the environment path. diff --git a/misc/ols.schema.json b/misc/ols.schema.json index a374681..3fbc0d2 100644 --- a/misc/ols.schema.json +++ b/misc/ols.schema.json @@ -39,6 +39,11 @@ "type": "boolean", "description": "Turn on inlay hints for editors that support it." }, + "enable_procedure_snippet": { + "type": "boolean", + "description": "Use snippets when completing procedures—adds parenthesis after the name.", + "default": true + }, "enable_references": { "type": "boolean" }, "enable_fake_methods": { "type": "boolean", -- cgit v1.2.3