Commit Graph

28 Commits

Author SHA1 Message Date
czechuuu bf2b6e4627 Added highlighting for bool and ___bool__ 2020-08-26 19:13:33 +02:00
Zach DeCook db98b9f1b5 * NanoRC Files: Copy linter and magic from nano 4.6 configs 2019-12-18 11:20:31 -05:00
Zach DeCook 97f06f6c73 * Nanorc: Copy comment syntax from nano 4.6 nanorcs 2019-12-18 11:13:13 -05:00
Crazcalm 28d0c9f08c Add python keywords async and await to highlight list 2019-10-07 14:41:40 -04:00
Simon Volpert 31a2bcf436
Change the Python file header text 2019-01-05 18:23:10 +02:00
Simon Volpert d449035c52
Python: Add rule to treat print and exec as both keywords and functions 2019-01-05 18:22:35 +02:00
Simon Volpert 8180a4cf7e
Add a magic string to Python's syntax definitions
Make the syntax name lowercase
2019-01-05 18:22:33 +02:00
Simon Volpert 49c839cfea
Remove dead code in Python definition 2019-01-04 16:31:34 +02:00
Simon Volpert 4bf49a725a
Unify comments in Python file 2019-01-04 15:35:10 +02:00
Simon Volpert c3c1996717
Python: Make numbers yellow instead of blue to make them easier to read 2019-01-04 15:34:22 +02:00
Simon Volpert b364e4bf4d
Make Python comment rule more specific 2019-01-04 15:34:22 +02:00
Simon Volpert be1c690ef1
Add reminders to Python syntax 2019-01-04 15:28:27 +02:00
Simon Volpert 0f2ad69b02
Make Python quoted strings brown 2019-01-04 15:26:45 +02:00
Simon Volpert 7e312f8d95
Enable highlighting of built-in Python classes 2019-01-04 15:24:38 +02:00
Elof 0fd4cfd55e Color trailing whitespace green 2016-12-06 22:13:04 +01:00
Alessandro Luppi 982d6ce9c1 Correct python header 2016-09-27 19:21:15 +02:00
CoffeeTableEnnui fb3e5eb1b0 Update number highlighting
Added highlighting for longs, octal (both forms), complexes, binary, and hex.
2016-08-30 14:04:41 -07:00
ThomasR bba53c3940 Rename syntax definitions
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00
Simon Volpert 65446005a5 True and False are Python built-in objects 2015-06-21 19:05:44 +03:00
Matthew Cox 44139392ac Significant Python highlighting improvements (mostly from https://code.google.com/p/nanosyntax/) 2014-08-02 23:22:17 +01:00
Anthony Scopatz dba968a737 fixed decorator highlighting. 2012-12-20 22:44:04 -06:00
Anthony Scopatz 9dd7714af8 Updated colors for decorators. 2012-08-03 10:24:53 -06:00
Anthony Scopatz 3874a5db43 Went back to previous version of multi-line python highlighting. 2012-03-04 16:32:43 -06:00
Anthony Scopatz ca6f04ac2d Python comments have precedence. 2012-02-20 13:51:25 -06:00
Anthony Scopatz 6835567ed2 Silly python edits. 2012-02-20 01:08:36 -06:00
Anthony Scopatz c90d38e928 Fixed multiline string highlighting. 2012-02-10 16:37:09 -06:00
Anthony Scopatz 62f7045000 Added yield colors to python and cython. 2012-02-01 02:14:24 -06:00
Anthony Scopatz 2d2bb4ba12 First nanorc commit. 2010-07-28 17:15:43 -05:00