aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamian Tarnawski <gthetarnav@gmail.com>2024-04-02 22:59:16 +0200
committerDamian Tarnawski <gthetarnav@gmail.com>2024-04-02 22:59:16 +0200
commitbe940343cd250122682d16bdf94004557a3590ca (patch)
tree22aca17b4935a7c24938f00debc3863f6dbce2d6
parentb398c8c817c2b28888e86ebdae84b8deb00a49e0 (diff)
Add enable_procedure_snippet to ols.json schema
-rw-r--r--README.md2
-rw-r--r--misc/ols.schema.json5
2 files changed, 6 insertions, 1 deletions
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",