miniscript-languageserver 1.6.1 → 1.7.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.
Files changed (3) hide show
  1. package/README.md +22 -0
  2. package/index.js +108 -106
  3. package/package.json +5 -4
package/README.md CHANGED
@@ -38,6 +38,28 @@ npm install -g miniscript-languageserver
38
38
  miniscript-languageserver
39
39
  ```
40
40
 
41
+ ## Configuration
42
+ ```ts
43
+ {
44
+ fileExtensions: string; // default: "ms"
45
+ formatter: boolean; // default: true
46
+ autocomplete: boolean; // default: true
47
+ hoverdocs: boolean; // default: true
48
+ diagnostic: boolean; // default: true
49
+ transpiler: {
50
+ beautify: {
51
+ keepParentheses: boolean; // default: true
52
+ indentation: "Tab" | "Whitespace"; // default: "Tab"
53
+ indentationSpaces: number; // default: 2
54
+ };
55
+ };
56
+ typeAnalyzer: {
57
+ strategy: "Dependency" | "Workspace"; // default: "Dependency"
58
+ exclude?: string; // default: undefined
59
+ };
60
+ }
61
+ ```
62
+
41
63
  ## Example Implementations
42
64
 
43
65
  This section provides a collection of IDEs that implement the `miniscript-languageserver`.