Felix S. Klock II
521fb049be
compilation error regexp specific to rustc.
...
Fix #6887 .
2013-08-25 14:15:03 +02:00
Paul Collins
3596f666bb
rust-mode: make indentation customizable
...
Add new variable rust-indent-offset, defaulting to
the old value, and use it.
2013-08-08 19:25:21 +12:00
Huon Wilson
cdad7f6f3b
etc: add the in
keyword to the emacs mode.
2013-08-03 18:31:23 +10:00
Graydon Hoare
581b3db3b3
rewrite rust-mode to use font-lock-mode and emacs builtin syntax analysis
2013-07-24 17:11:04 -07:00
Felix S. Klock II
f98f3b0401
Note incompatibility with global-whitespace-mode.
...
See #3994 .
2013-07-22 12:27:46 +02:00
Uwe Dauernheim
d314090b85
Fix typo
2013-04-26 14:47:15 +03:00
Uwe Dauernheim
7a9037bfde
Allow customization of indent offset
2013-04-26 00:06:57 +03:00
Jed Davis
8453f3110c
rust-mode.el uses the 'cl macros, so it should actually require them
...
Without this change, rust-mode doesn't work if 'cl hasn't been required
by something else, apparently. I'm not entirely sure what changed such
that I started seeing this problem instead of not, but maybe the emacs
world has been making progress towards not loading 'cl at runtime if
it's only needed at compile time.
2013-03-08 12:51:16 -08:00
Huon Wilson
4bf94a7b30
Emacs: Update emacs mode to be more similar to the vim mode.
...
Copy the keyword list, and add `self` so that it is somewhat highlighted
(being liberal with the correct categories).
2013-02-25 23:42:46 +11:00
Niko Matsakis
ad8b437ada
Make 'foo use font-lock-builtin-face, like module names, and make capitalized identifiers optionally use font-lock-type-face
2013-02-16 08:01:10 -05:00
Niko Matsakis
1ef8c48a20
emacs mode: Highlight 'foo as a lifetime, not a character constant.
2013-02-16 08:01:10 -05:00
Jed Davis
e93a58d526
rust-mode.el uses the 'cl macros, so it should actually require them
...
Without this change, rust-mode doesn't work if 'cl hasn't been required
by something else, apparently. I'm not entirely sure what changed such
that I started seeing this problem instead of not, but maybe the emacs
world has been making progress towards not loading 'cl at runtime if
it's only needed at compile time.
2013-02-10 11:23:10 -08:00
Brian Anderson
6c15dd6d82
rust-mode: Add 'ref' keyword
2012-09-28 12:41:34 -07:00
Brian Anderson
49af969e2c
rust-mode: Add pub and priv
2012-09-21 18:25:51 -07:00
Niko Matsakis
d5b3e44b47
emacs mode: include use as a keyword
2012-09-06 12:31:33 -07:00
Niko Matsakis
785c524d3e
change to 4-space indents everywhere
2012-08-27 11:54:22 -07:00
Max Penet
d0c57c39d2
add auto-mode-alist to autoloads
2012-08-16 10:06:18 +02:00
Max Penet
527c21c10e
fix indentation
2012-08-16 08:34:48 +02:00
Max Penet
9b66be0137
add instructions for install from MELPA
2012-08-16 08:12:08 +02:00
Max Penet
ea0157250f
update readme with package.el installation steps
2012-08-14 12:03:02 -07:00
Max Penet
cb542cf433
Add author to meta-data
2012-08-14 12:03:02 -07:00
Max Penet
50faaf421f
update readme
2012-08-14 12:03:02 -07:00
Max Penet
d11b7554fd
add Url
2012-08-13 13:53:27 -07:00
Max Penet
a41aa08de9
proper package footer
2012-08-13 13:53:26 -07:00
Max Penet
88918bbefb
initial stab at making rust-mode elpa friendly
2012-08-13 13:53:26 -07:00
Brian Anderson
713487ddd3
Merge pull request #3185 from megakorre/master
...
Removed comma from rust-mode.el
2012-08-11 16:21:10 -07:00
Patrik Kårlin
8d26d86b70
removed a comma from the keyword list to get
...
fn keyword highlighted
2012-08-12 00:19:25 +02:00
Michael Sullivan
4be8239ac2
Add 'static' to rust-mode.el.
2012-08-07 17:18:14 -07:00
Niko Matsakis
c0e988f932
emacs: add match as keyword
2012-08-06 16:13:04 -07:00
Graydon Hoare
4019d3a86b
Add trait to emacs keyword table.
2012-08-02 18:06:33 -07:00
Michael Sullivan
97601cafc5
Update rust-mode.el with new keywords.
2012-08-02 10:08:17 -07:00
Lindsey Kuper
a413d4e502
Remove "iface" from vim and emacs modes.
2012-07-31 11:52:16 -07:00
Graydon Hoare
ceac155211
For #2229 , recognize 'again' in place of 'cont', final change pending snapshot.
2012-07-06 15:46:39 -07:00
Brian Anderson
129de96023
Add 'do' to rust-mode
2012-07-01 23:09:22 -07:00
Graydon Hoare
d3c6119a7a
More keyword paring and migration in runtime, docs, code modes.
2012-06-27 13:30:49 -07:00
Paul Stansifer
a16cb376ac
Update reserved words for syntax highlighters (vim is still behind, though)
2012-05-23 16:23:11 -07:00
Brian Anderson
42f2810eca
emacs: Make 'mut' a keyword
2012-03-27 15:10:25 -07:00
Brian Anderson
2d9910383e
rust-mode: tag -> enum. Closes #1577
2012-01-20 01:04:50 -08:00
Marijn Haverbeke
936c933fd8
Move emacs mode into tree
2012-01-16 12:44:24 +01:00