Antoine Motet
47dd65d4e5
Improve JavaScript syntax highlighting
...
- Sort keywords alphabetically
- Use `symbol.operator` for operators instead of `statement`
- Add a basic support for back-tick strings
- Mark unassigned keywords as errors
2017-12-17 23:53:58 +01:00
Fuji Haruka
07bfcc9747
Update javascript.yaml
...
Add statements `async` and `await`.
Its status is stage 3 Draft.
https://tc39.github.io/ecmascript-asyncawait/#async-function-definitions
But I think it's usefull to add, because Node.js >= v7.6 support it.
2017-11-06 20:52:28 +09:00
Zachary Yedidia
a0f3ec805d
Merge
2017-10-06 11:00:31 -04:00
Zachary Yedidia
ea6012922f
Add paren highlighting for js and update runtime
2017-10-06 10:59:43 -04:00
Nicolas
9703d4f52f
support es files and fix parenthesis highlighting
...
* This allows `micro` to use javascript syntax highlighting on `.es`, `.es6|7|8` files
* Fix parenthesis highlighting with @is73 regex, see #864
2017-10-06 16:29:49 +02:00
andrea
ff9a8a1247
few more keywords for js syntax
2017-09-29 16:20:38 +01:00
Zachary Yedidia
47ef864295
Add skip statements to all strings
2017-03-29 09:45:16 -04:00
Zachary Yedidia
299712ead3
Add support for skipping and remove need for lookbehind
2017-03-27 20:53:08 -04:00
Zachary Yedidia
87f54be13a
Add support for lookbehind in region regexes
...
Use the 'regexp2' library for lookahead and lookbehind in region
start and end regular expressions to support things like closing quotes
that aren't preceded by backslashes.
2017-03-22 19:03:06 -04:00
Zachary Yedidia
54bb99d758
Improve new syntax files and fix a region glitch
2017-03-21 15:07:39 -04:00
Zachary Yedidia
b977bf5cca
Add converted syntax files
2017-03-21 14:55:22 -04:00
Zachary Yedidia
2fcb40d5a9
Use new syntax highlighting engine from zyedidia/highlight
...
This changes all the syntax files in the runtime directory and also
changes how syntax highlighting is done from inside micro.
2017-02-26 11:14:35 -05:00