aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_json.lua
AgeCommit message (Collapse)Author
2024-07-10Update language.json (#452)Gaspartcho
* Update language_json.lua * Update manifest.json
2023-11-10Added syntax support for JSON files (#331)devrandom
* Create language_json.lua * Update manifest.json * Update manifest.json * Update plugins/language_json.lua Co-authored-by: Jefferson González <jgmdev@gmail.com> * removed invalid literals and numeric keys * updated key pattern to include spaces and hyphens, and updated value pattern to not match multiline strings * added priority again, changed value back to string and updated formatting a bit * actually added priority this time god it's hard working with 2 different files * patterns now match everything but newlines, and allow for whitespace to prefix the colon, and priority is now fixed aswell * added cjson comment support * Update plugins/language_json.lua Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * Update plugins/language_json.lua Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * Update plugins/language_json.lua Co-authored-by: Guldoman <giulio.lettieri@gmail.com> * avoid highlighting colon * updated pattern * Add ".jsonc" extension --------- Co-authored-by: Jefferson González <jgmdev@gmail.com> Co-authored-by: Guldoman <giulio.lettieri@gmail.com>