From 2a872bbbd4364dc515389b9d5d900d815c145f6b Mon Sep 17 00:00:00 2001 From: Gaspartcho <93390411+Gaspartcho@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:28:19 +0200 Subject: Update language.json (#452) * Update language_json.lua * Update manifest.json --- manifest.json | 2 +- plugins/language_json.lua | 9 ++++++++- 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 = { -- cgit v1.2.3