aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDamian Tarnawski <gthetarnav@gmail.com>2024-01-24 23:45:21 +0100
committerDamian Tarnawski <gthetarnav@gmail.com>2024-01-24 23:45:21 +0100
commit0dfd887bec02efb4eda374495c79791fb5d76215 (patch)
treef64d60909fca2b4331d00bae2e88ed4dedcda3a6 /README.md
parente536b9393c64c1fe61d87b46dcdfa45bc1c1efcf (diff)
Add enable_format option to ols.schema.json and readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 98e7553..4438706 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ cd ols
In order for the language server to index your files, it must know about your collections.
-To do that you can either configure ols via an ``ols.json`` file (it should be located at the root of your workspace).
+To do that you can either configure ols via an `ols.json` file (it should be located at the root of your workspace).
Or you can provide the configuration via your editor of choice.
@@ -43,7 +43,7 @@ Example of `ols.json`:
{
"$schema": "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/ols.schema.json",
"collections": [
- { "name": "custom_collection", "path": "c:/path/to/collection" },
+ { "name": "custom_collection", "path": "c:/path/to/collection" }
],
"enable_semantic_tokens": false,
"enable_document_symbols": true,
@@ -56,6 +56,8 @@ You can also set `ODIN_ROOT` environment variable to the path where ols should l
Options:
+`enable_format`: Turns on formatting with `odinfmt`. _(Enabled by default)_
+
`enable_hover`: Enables hover feature
`enable_snippets`: Turns on builtin snippets