aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaspartcho <93390411+Gaspartcho@users.noreply.github.com>2024-07-10 10:28:19 +0200
committerGitHub <noreply@github.com>2024-07-10 10:28:19 +0200
commit2a872bbbd4364dc515389b9d5d900d815c145f6b (patch)
tree9002e7645b8ede41781c1b14b58455a9854f4faa
parentd5799e330ca57a9a355ce9c4eda5c631a5094bd0 (diff)
downloadlite-xl-plugins-2a872bbbd4364dc515389b9d5d900d815c145f6b.tar.gz
lite-xl-plugins-2a872bbbd4364dc515389b9d5d900d815c145f6b.zip
Update language.json (#452)
* Update language_json.lua * Update manifest.json
-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 = {