24 Commits

Author SHA1 Message Date
Ben S
822eb95303 But there's only one type of string 2015-02-15 13:48:41 +00:00
Ben S
da342c1b7d Simplify macro-highlighting code 2015-02-15 13:43:15 +00:00
Ben S
81197c7d45 Detect r##"raw strings"## 2015-02-15 13:23:32 +00:00
Ben S
e6c0074733 Smarten up attribute highlighting 2015-02-15 13:07:24 +00:00
Ben S
5452afbb9c Replace identifier colour with preprocessor colour 2015-02-15 13:07:10 +00:00
Ben S
2c06798f84 Allow 'us' and 'is' machine-dependent suffixes 2015-02-15 12:54:55 +00:00
Ben S
82931045a2 Highlight macro_rules! definitions + arguments 2015-02-15 02:44:29 +00:00
Ben S
79a65307f0 Changes to the way numbers are highlighted
They were being highlighted after underscores in variable names, and underscores weren't being catered for in non-base-ten numeric literals. Now, fixed!
2014-12-24 14:11:32 +00:00
Ben S
c98ec54134 Skip over modules called 'test' 2014-12-05 21:47:52 +00:00
Ben S
98a15cf36a Skip over empty function/module definitions 2014-12-05 20:51:08 +00:00
Ben S
34bbe47973 Turns out numbers are valid identifier components 2014-12-05 20:08:26 +00:00
Ben S
69e12ea420 Subtly change the way 'use' lines are highlighted 2014-12-05 20:07:08 +00:00
Sean S
dbb13d4816 remove trailing spaces 2014-11-29 16:43:56 +00:00
Ben S
af4c34887f Highlight numbers in 'use' statements
Thanks, std::f64::consts...
2014-11-27 05:19:10 +00:00
Ben S
6668052266 Highlight binary and octal literals 2014-11-25 20:02:24 +00:00
Ben S
91d69de57f Highlight hex literals 2014-11-25 19:44:29 +00:00
Ben S
01998a20bc Require whitespace after mod, fn, and use 2014-11-25 18:36:07 +00:00
Ben S
4743bab662 Highlight module names and numeric prefixes 2014-11-14 18:47:59 +00:00
Ben S
41fcd43e6d Syntax highlight file includes 2014-11-09 21:06:15 +00:00
Ben S
b68e3e3b77 Allow decimal points in numbers 2014-11-09 20:19:55 +00:00
Ben S
87e761b6b2 Fix highlighting problems, and add function colour 2014-11-07 15:31:26 +00:00
Ben S
5ad537f261 Don't start number/identifier runs halfway through a word 2014-11-05 12:02:17 +00:00
Ben S
b9aefd8d32 Make underscores valid number components 2014-10-27 14:34:45 +00:00
Ben S
80aa9874b7 Initial commit 2014-10-26 17:07:10 +00:00