Ryan Westlund
006165230d
python.yaml: add async as a keyword ( #1713 )
...
await is already a keyword, but async is not.
2020-06-08 13:45:05 -04:00
Zachary Yedidia
1cf9537340
Fix python3 syntax file and make python3 default
...
The python3 syntax had "filename" instead of "filetype"
as the header. This commit also makes standard py extensions
use the python3 highlighting and requires .py2 or a python2
env to use python2 highlighting because python3 is the standard
python now.
Fixes #1592
2020-03-24 11:42:23 -04:00
Dull Bananas
9ec07b595b
Add missing keywords for Python syntax
2019-07-03 16:53:53 -07:00
Zachary Yedidia
5c2fc92332
Merge pull request #1205 from kylebarron/python-syntax-fixes
...
Use symbol.operator and symbol.brackets scopes correctly in Python syntax file
2018-12-10 14:28:21 -05:00
Kyle Barron
fd48a3841e
Python syntax: docstring should be string, not comment
2018-11-04 12:36:39 -05:00
Kyle Barron
e0ce419357
Use symbol.operator and symbol.brackets scopes correctly
2018-10-02 13:54:29 -04: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
1655fde09b
Fix precedence for python multi-comments
2017-03-26 17:24:02 -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