aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_js.lua
AgeCommit message (Collapse)Author
2024-04-04Limit `language_js` regex avoidance to numbers, and fix starting `/*` ↵Guldoman
comments (#1744) * Avoid starting regexes only after numbers in `language_js` * Allow starting `/*` comments after numbers in `language_js`
2024-03-11Fix `language_js` regex/comment distinction (#1731)Guldoman
2024-01-22language_js: support binary and octal representation (#1710)Takase
2023-11-29Fix `language_js` regex constant detection (#1581)Guldoman
* Fix `language_js` regex constant detection * Simplify regex constant detection in `language_js` * Add more possessive quantifiers in `language_js` regex constant detection This avoids more catastrophic backtracking cases. * Allow `.` after regex constant in `language_js`
2023-05-29language_js: support for embedded html syntax (#4)Jefferson González
2022-07-13[chore]: Delete useless $NCarrezDev
follow up on Guldoman's comment
2022-07-06[chore]: Update syntaxNCarrezDev
Harmonizing the syntax files Now inline comment are a single string instead of a table of strings. -(language_c): Removed whitespaces breaking indent -(language_html): Removed trailing whitespace
2022-06-20Add .cjs and .mjs for js syntax highlightinga
2022-05-31plugins: dropped --lite-xl version tagjgmdev
2022-04-03Bumping version numbers.Adam Harrison
2021-12-26fallback to toggle-line-comment and vice versa if neededtakase1121
2021-12-25add toggle-block-commenttakase1121
2021-12-06Merge pull request #497 from lite-xl/fix-javascript-regexp-syntaxAdam
Try to fix problem with js syntax of '/=' operator
2021-11-23Manual merge of into .Adam Harrison
2021-11-22JS hex BigInts and hex numeric separatorscukmekerb
2021-11-21Add names to language pluginsGuldoman
2021-11-15add BigInt literal and numeric separators to js syntax highlightercukmekerb
2021-09-06Try to fix problem with js syntax of '/=' operatorFrancesco Abbate
The operator '/=' was wrongly considered by the js syntax file as the beginning of a regexp literal. With this modification we modify the pattern for regexp literals to not match expressions starting with '/='. This doesn't seem entirely correct because apparently javascript can accept regexp literals starting with '/=' but the rule used by the javascript lexer is not known.
2021-08-172.0 changelog and modversion updates.Adam Harrison
2021-05-17add `of` keyword to language_js.lua and improve js string syntax ↵Cukmekerb
highlighting in (#186)
2021-05-05Introduce new plugin versioning tag mod-versionFrancesco Abbate
New plugins should use the version tag: -- mod-version: 1 The old version tag "-- lite-xl 1.16" will be considerer equivalent to mod-version 1.
2021-04-06Add plugin verification by version tagFrancesco Abbate
2021-02-24+js language regexp patternep
2020-06-05language_js improvementsrxi
2020-05-10Put back get and setDaniel M
2020-05-10Update language_js.luaDaniel M
2019-12-28Initial commitrxi