We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf1edc commit 793af99Copy full SHA for 793af99
fortls/schema.py
@@ -28,7 +28,7 @@ def create_schema(root: pathlib.Path | None = None):
28
m = create_model("fortls schema", **only_vals)
29
m.__doc__ = "Schema for the fortls Fortran Language Server"
30
31
- with open(str(root / "fortls.schema.json"), "w") as f:
+ with open(str(root / "fortls.schema.json"), "w", encoding="utf-8") as f:
32
print(m.schema_json(indent=2), file=f)
33
print(f"Created schema file: {root / 'fortls.schema.json'}")
34
0 commit comments