aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_json.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_json.lua')
-rw-r--r--plugins/language_json.lua9
1 files changed, 8 insertions, 1 deletions
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 = {