Skip to content

Commit

Permalink
Update language.json (#452)
Browse files Browse the repository at this point in the history
* Update language_json.lua

* Update manifest.json
  • Loading branch information
Gaspartcho committed Jul 10, 2024
1 parent d5799e3 commit 2a872bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@
"tags": [
"language"
],
"version": "0.1"
"version": "0.1.1"
},
{
"description": "Syntax for the [Julia](https://julialang.org/) programming language",
Expand Down
9 changes: 8 additions & 1 deletion plugins/language_json.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2a872bb

Please sign in to comment.