Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml12
1 files changed, 11 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 8b1c4bc0..b5d9c81a 100644
--- a/languages.toml
+++ b/languages.toml
@@ -514,7 +514,6 @@ file-types = [
"css.map",
{ glob = ".jslintrc" },
"jsonl",
- "jsonld",
{ glob = ".vuerc" },
{ glob = "composer.lock" },
{ glob = ".watchmanconfig" },
@@ -555,6 +554,17 @@ language-servers = [ "vscode-json-language-server" ]
auto-format = true
indent = { tab-width = 2, unit = " " }
+# https://www.w3.org/TR/json-ld/
+[[language]]
+name = "json-ld"
+scope = "source.json-ld"
+injection-regex = "json-ld"
+grammar = "json"
+file-types = ["jsonld"]
+language-servers = ["vscode-json-language-server"]
+auto-format = true
+indent = { tab-width = 2, unit = " " }
+
[[language]]
name = "json5"
scope = "source.json5"