aboutsummaryrefslogtreecommitdiff
path: root/plugins
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 /plugins
parentd5799e330ca57a9a355ce9c4eda5c631a5094bd0 (diff)
downloadlite-xl-plugins-2a872bbbd4364dc515389b9d5d900d815c145f6b.tar.gz
lite-xl-plugins-2a872bbbd4364dc515389b9d5d900d815c145f6b.zip
Update language.json (#452)
* Update language_json.lua * Update manifest.json
Diffstat (limited to 'plugins')
-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 = {