@teipublisher/oddity-language-server 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -24,6 +24,16 @@ An `<?xml-model?>` or `[editor] schema` naming one of these by its published URL
24
24
  If no schema can be determined, the language server still supports
25
25
  well-formedness checks, an outline and tag renaming.
26
26
 
27
+ ## opm.toml
28
+
29
+ A document named `opm.toml` is checked against the JSON Schema that opm ships
30
+ (`schema/opm/opm.schema.json`, copied by `npm run schemas`): TOML syntax errors,
31
+ wrong types and values are errors, unknown keys and legacy top-level sections
32
+ warnings. Completion offers table names in headers, the keys a table may still
33
+ take, and values (enums, booleans, examples) after `=`; hover shows a key's
34
+ description. Clients have to send `opm.toml` to the server, e.g. a document
35
+ selector `{ pattern: '**/opm.toml' }`.
36
+
27
37
  ## Layout
28
38
 
29
39
  - `src/core/`: editor-independent code (validation, completion, schema