aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4438706..2a556c7 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,12 @@ Example of `ols.json`:
"enable_semantic_tokens": false,
"enable_document_symbols": true,
"enable_hover": true,
- "enable_snippets": true
+ "enable_snippets": true,
+ "profile": "windows",
+ "profiles": [
+ { "name": "linux_profile", "os": "linux", "checker_path": "src/main.odin"},
+ { "name": "windows_profile", "os": "windows", "checker_path": "src"}
+ ]
}
```
@@ -78,6 +83,10 @@ Options:
`verbose`: Logs warnings instead of just errors.
+`profile`: What profile to currently use.
+
+`profiles`: List of different profiles that describe the environment ols is running under.
+
### Odinfmt configurations
Odinfmt reads configuration through `odinfmt.json`.