Daniel Micay
b0f66c4732
vim: mark Todo as contained and rm unsafe from it
...
It's nice to make unsafe stand out, but this way isn't correct because it
highlights it in comments.
2013-03-30 18:17:13 -04:00
Daniel Micay
7142cdef1e
vim: highlight ref + static as storage specifiers
...
lifetimes and globals are now the only two places static is used, and
'static isn't matched by this
2013-03-30 18:16:53 -04:00
Daniel Micay
0224eb3d32
vim: assert and pure keywords were removed
2013-03-30 17:54:24 -04:00
Luqman Aden
7352d919f6
Update rust.vim
...
Column limit 78 -> 100.
2013-03-18 17:19:40 -07:00
Ben Striegel
e29b7eedf9
vim improvements
...
1. Highlight new lifetime syntax
2. Visually distinguish `unsafe` keyword
3. Add a new file that highlights column 78, to warn when lines get too long
2013-02-19 23:07:09 -05:00
Daniel Micay
5c75f210ba
vim: move keyword is gone
2013-02-16 03:17:26 -05:00
Daniel Micay
dffc3f82b2
vim: 'fail' is no longer a keyword
2013-02-01 19:32:03 -05:00
Daniel Micay
6052d67474
vim: pub is just a plain old token keyword
2013-02-01 14:21:32 -05:00
Daniel Micay
00201c969d
vim: use StorageClass for mut and const
2013-02-01 14:21:32 -05:00
Daniel Micay
1c3cca8a57
vim: 'be' is a reserved keyword
2013-02-01 14:21:32 -05:00
Daniel Micay
5b47c551b9
vim: unsafe:: namespaces were renamed to raw::
2013-02-01 14:21:32 -05:00
Daniel Micay
405b868ae7
vim: add Self type
2013-02-01 14:21:25 -05:00
Daniel Micay
0c1a345d01
vim: export is no longer a keyword
2013-02-01 13:20:03 -05:00
Daniel Micay
2cf2d6aa92
add Drop trait to vim syntax highlighting
2012-12-25 01:20:27 -05:00
Daniel Micay
a45e41faaa
update after/syntax/rust.vim for removal of <-
2012-12-21 21:37:32 -05:00
Daniel Micay
c7f7be83f5
update syntax/rust.vim for keyword changes
2012-12-14 17:13:11 -05:00
Ben Blum
8baed1f25f
vim - Update bblum's email address and highlight trait names
2012-09-23 23:24:25 -04:00
Patrick Walton
2ba632a683
vim: Turn "pub" into a big asterisk for those who dislike the look of it.
...
This is not the default and must be turned on.
2012-09-05 18:59:01 -07:00
Ben Blum
cf1d2a7fef
vim - camel-case the non builtin types
2012-08-26 20:45:04 -04:00
Ben Blum
f7f909a8cf
vim - fix indent rules, hilight format strings, some keywords
2012-08-23 21:09:57 -04:00
Patrick Walton
be4f9753e4
vim: "ref" and "static" are now keywords; highlight them as such
2012-08-16 15:44:07 -07:00
Ben Blum
ef32a99f26
vim: hilight 'self' as a constant instead of a keyword
2012-08-09 20:29:34 -04:00
Patrick Walton
1beb1f491f
etc: Add pub and priv to vim
2012-08-08 17:32:49 -07:00
Ben Blum
a98407ee34
vim: don't hilight "any"
2012-08-03 18:46:48 -04:00
Patrick Walton
0646890f63
vim: Don't link conceals to operators if we're concealing mod paths, because that makes mod paths show up as operators.
2012-08-02 11:48:33 -07:00
Erick Tryzelaar
213291e0c1
vim: Add a concealer for <->
...
This may break indentation though. However, without it, vim
sees "<->" and interprets it as a "<", folloed by "->", which
it conceals as a right arrow, so I'm not sure which is worse.
2012-08-01 13:17:01 -07:00
Erick Tryzelaar
37d7c9d1c3
vim: Move conceal code into vim/after/syntax.
...
This makes concealment opt-in.
2012-08-01 13:17:01 -07:00
Patrick Walton
43c9cd5298
vim: Add new keywords
2012-07-31 17:34:37 -07:00
Patrick Walton
c88933d714
rustc: Implement unary move. Closes #917 .
2012-07-31 17:33:20 -07:00
Patrick Walton
2cfe8fb357
rustc: Check self types in method lookup; allow required trait methods to have self types; write self types into metadata
2012-07-31 16:35:11 -07:00
Lindsey Kuper
a413d4e502
Remove "iface" from vim and emacs modes.
2012-07-31 11:52:16 -07:00
Patrick Walton
09e893ba2e
vim: Switch to a dot that shows up in the middle on Linux for module separator
2012-07-30 19:37:20 -07:00
Patrick Walton
d665ae956a
vim: Add some optional beautification of ::, ->, and =>
2012-07-30 16:33:24 -07:00
Ben Blum
b50279ba94
vim: hilight old style #macros
2012-07-26 21:20:02 -04:00
Patrick Walton
1df5c52791
vim: Highlight "struct"
2012-07-24 21:09:42 -07:00
Ben Blum
829186cb79
vim: 'owned' keyword
2012-07-18 19:55:18 -04:00
Ben Blum
bb5e2ba60a
vim: hilight macro!s
2012-07-17 21:54:31 -04:00
Ben Blum
06c42b77d3
vim rustFuncCall contains rustAssert
2012-07-17 20:03:14 -04:00
Ben Blum
ebb33f2c28
vim: swap 'cont' for 'again'
2012-07-14 01:30:51 -04:00
Ben Blum
2ffa9b6bd9
vim: add optional rustFuncCall (default disabled)
2012-07-11 12:07:06 -04:00
Ben Blum
f9cb04f6fa
vim: hilight option, either, libc types+constants
2012-07-06 22:30:50 -04:00
Ben Blum
efb3227fb3
vim: add 'new' keyword
2012-07-03 18:39:58 -04:00
Ben Blum
67b9d82847
vim syntax: add drop & rustString contains rustTodo
2012-07-02 18:00:43 -04:00
Ben Blum
510af4dadb
vim syntax: don't hilight foo::<T>() like a module
2012-07-02 16:03:44 -04:00
Ben Blum
dc93814bf9
minor updates to vim config files
2012-07-02 15:48:59 -04:00
Erick Tryzelaar
c74b3fd634
Treat "do" as a keyword in vim
2012-07-02 09:06:30 -07:00
Ben Striegel
ba6f71f1b8
Properly highlight nested comments in vim
...
Prior to this commit, every block comment /* */ required two closing tags for
every opening tag in order to terminate the highlighting. Setting and testing
for a variable was the culprit, though I'm not certain why, but they appear to
just be boilerplate lines from whatever pcwalton based this file upon. I've
looked at other officially-distributed vim highlighting files and none seem to
do the test that this commit removes, so I'm fairly certain it didn't provide
anything vital. And now comment highlighting works!
2012-06-30 14:17:17 -07:00
Ben Blum
d7823de5e2
update rust.vim to hilight foo::bar and more
2012-06-28 21:11:54 -04:00
Ben Blum
571d866c0d
Update vim mode for asserts and #[attributes]
2012-06-28 18:11:54 -04:00
Graydon Hoare
d3c6119a7a
More keyword paring and migration in runtime, docs, code modes.
2012-06-27 13:30:49 -07:00