Aziz Mazouz Jaber
f76b7bd600
Add from symbol to support ESM ( #1754 )
2024-04-24 21:01:05 +01:00
Guldoman
e69f3b8c13
Fix `language_js` regex/comment distinction ( #1731 )
2024-04-24 21:00:21 +01:00
Takase
ddddef076d
language_js: support binary and octal representation ( #1710 )
2024-02-11 15:38:51 +00:00
Guldoman
ee02d0e0b6
Fix `language_js` regex constant detection ( #1581 )
...
* 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-12-26 13:16:33 +00:00
NCarrezDev
7f9287a7e7
[chore]: Delete useless $
...
follow up on Guldoman's comment
2022-07-13 09:16:32 +02:00
NCarrezDev
030dcc1e62
[chore]: Update syntax
...
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-07-06 10:15:44 +02:00
a
8fd00b12cf
Add .cjs and .mjs for js syntax highlighting
2022-06-20 16:12:25 +02:00
jgmdev
2d8a15f3ab
plugins: dropped --lite-xl version tag
2022-05-31 16:34:14 -04:00
Adam Harrison
45a0382d50
Bumping version numbers.
2022-04-03 16:44:02 -04:00
takase1121
69a857bbbf
fallback to toggle-line-comment and vice versa if needed
2021-12-26 15:05:27 +08:00
takase1121
4d31b1bc40
add toggle-block-comment
2021-12-25 12:57:00 +08:00
Adam
994c62b64a
Merge pull request #497 from lite-xl/fix-javascript-regexp-syntax
...
Try to fix problem with js syntax of '/=' operator
2021-12-06 00:17:07 -05:00
Adam Harrison
96db380c73
Manual merge of into .
2021-11-23 15:57:22 -05:00
cukmekerb
65f1251767
JS hex BigInts and hex numeric separators
2021-11-22 12:15:19 -08:00
Guldoman
3176b467ca
Add names to language plugins
2021-11-21 03:46:43 +01:00
cukmekerb
46f81e0bad
add BigInt literal and numeric separators to js syntax highlighter
2021-11-15 09:20:34 -08:00
Francesco Abbate
4f68f7fd92
Try to fix problem with js syntax of '/=' operator
...
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-09-06 09:31:17 +02:00
Adam Harrison
b6af395fc7
2.0 changelog and modversion updates.
2021-08-17 20:24:44 +02:00
Cukmekerb
bd4efa14a2
add `of` keyword to language_js.lua and improve js string syntax highlighting in ( #186 )
2021-05-17 08:56:21 +02:00
Francesco Abbate
5cef643e02
Introduce new plugin versioning tag mod-version
...
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-05-05 22:38:29 +02:00
Francesco Abbate
d7cc1f9f9d
Add plugin verification by version tag
2021-04-06 17:50:46 +02:00
ep
b616b55fd9
+js language regexp pattern
2021-02-24 12:24:43 +07:00
rxi
877d940c0e
language_js improvements
2020-06-05 22:38:06 +01:00
Daniel M
2ed29cae11
Put back get and set
2020-05-10 10:56:28 +02:00
Daniel M
3974971ff9
Update language_js.lua
2020-05-10 10:51:45 +02:00
rxi
d8c4bfa6ba
Initial commit
2019-12-28 11:17:56 +00:00