aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest.json2
-rw-r--r--plugins/language_json.lua9
2 files changed, 9 insertions, 2 deletions
diff --git a/manifest.json b/manifest.json
index ba4b84a..449e4cf 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1160,7 +1160,7 @@
"tags": [
"language"
],
- "version": "0.1"
+ "version": "0.1.1"
},
{
"description": "Syntax for the [Julia](https://julialang.org/) programming language",
diff --git a/plugins/language_json.lua b/plugins/language_json.lua
index eae97d4..26d05a2 100644
--- a/plugins/language_json.lua
+++ b/plugins/language_json.lua
@@ -4,7 +4,14 @@ local syntax = require "core.syntax"
syntax.add {
name = "JSON",
- files = { "%.json$", "%.cjson$", "%.jsonc$" },
+
+ files = {
+ "%.json$",
+ "%.cjson$",
+ "%.jsonc$",
+ "%.ipynb$",
+ },
+
comment = "//",
block_comment = {"/*", "*/"},
patterns = {