Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 235 lines (145 sloc) 6.772 kb
51fa67d @tpope NEWS; allow for eruby nesting
tpope authored
1 = 2007.05.07
2
3 == Ruby Syntax Highlighting
4
5 Highlight OPTIMIZE alongside FIXME and TODO.
6
7 Multiline array literals can now be folded.
8
9 == Ruby Filetype Support
10
11 Added mappings for [[, ]], [], ][, [m, ]m, [M, and ]M. The first four bounce
12 between class and module declarations, and the last four between method
13 declarations.
14
15 == eRuby Syntax Highlighting
16
17 Tim Pope has taken over maintenance of the eRuby syntax file. The subtype of
18 the file is now determined dynamically from the filename, rather than being
19 hardwired to HTML. It can be overridden with b:eruby_subtype.
20
21 == eRuby Filetype Support
22
23 Tim Pope has taken over maintenance of the eRuby filetype plugin. Like with
24 the syntax file, the subtype is now determined dynamically.
25
26 == eRuby Indenting
27
28 As with the syntax file and filetype plugin, the subtype is now determined
29 dynamically.
30
31 == Bug Fixes
32
33 Ruby syntax file
34 - when ruby_operators is set, highlight scope and range operators, and don't
35 match '>' in =>'
36 - regexp literals are highlighted after the 'else' keyword
37 - don't match [!=?] as part of a sigil prefixed symbol name
38 - allow text to appear after, and on the same line, as '=begin' in
39 rubyDocumentation regions
40 - highlight %s() ans a symbol, not a string
41 - eliminated some false positves for here docs, symbols, ASCII codes, and
42 conditionals as statement modifiers
43 - added "neus" to regexp flags
44 - Highlight punctuation variables in string interpolation, and flag invalid
45 ones as errors
46 - removed : from rubyOptionalDoLine (falsely matches on symbols)
47
48 Ruby filetype plugin
49 - eliminated some false positives with the matchit patterns
50
51 Ruby indent plugin
52 - ignore instance, class, and global variables named "end"
53
54
98caafe @dkearns fix typo
dkearns authored
55 = 2007.03.02
0e7276a @dkearns update documentation for next release
dkearns authored
56
57 == Omni Completion
58
9b08c0c @dkearns update documentation for next release
dkearns authored
59 Fall back to syntax highlighting completion if Vim lacks the Ruby interface.
a7ee5ac @tpope NEWS about omnicompletion
tpope authored
60
0e7276a @dkearns update documentation for next release
dkearns authored
61 RubyGems is now loaded by default if available.
62
a7ee5ac @tpope NEWS about omnicompletion
tpope authored
63 Classes are detected using ObjectSpace. Kernel methods are included in method
64 completion.
65
66 Added completion in Rails views. Rails helpers are included. Rails migrations
67 now have completion.
68
0e7276a @dkearns update documentation for next release
dkearns authored
69 == Ruby Syntax Highlighting
70
9b08c0c @dkearns update documentation for next release
dkearns authored
71 Ruby code is highlighted inside interpolation regions.
0e7276a @dkearns update documentation for next release
dkearns authored
72
9b08c0c @dkearns update documentation for next release
dkearns authored
73 Symbols are now highlighted with the Constant highlight group; Constants and
74 class names with the Type highlight group.
0e7276a @dkearns update documentation for next release
dkearns authored
75
9b08c0c @dkearns update documentation for next release
dkearns authored
76 Symbol names specified with a string recognise interpolation and escape
0e7276a @dkearns update documentation for next release
dkearns authored
77 sequences.
78
9b08c0c @dkearns update documentation for next release
dkearns authored
79 Alias statements receive special highlighting similar to other 'definitions'.
0e7276a @dkearns update documentation for next release
dkearns authored
80
81 == Ruby Filetype Support
82
83 Matchit support has been improved to include (), {}, and [] in the list of
84 patterns so that these will be appropriately skipped when included in comments.
85
86 ri has been added as the 'keywordprg' and 'balloonexpr' is set to return the
87 output of ri.
88
89 == eRuby Indenting
90
91 Tim Pope has taken over maintenance of the eRuby indent file. Ruby code is now
92 indented appropriately.
93
94 == Bug Fixes
95
96 Ruby syntax file
97 - trailing whitespace is no longer included with the def, class, module
9b08c0c @dkearns update documentation for next release
dkearns authored
98 keywords.
99 - escaped interpolation regions should now be ignored in all cases.
100 - conditional and loop statements are now highlighted correctly in more
101 locations (where they're used as expressions).
0e7276a @dkearns update documentation for next release
dkearns authored
102
103 eRuby syntax file
9b08c0c @dkearns update documentation for next release
dkearns authored
104 - '-' trim mode block delimiters are now recognised.
105
106 Omni Completion
107 - more robustness; failure to parse buffer no longer errors or prevents
108 completion.
0e7276a @dkearns update documentation for next release
dkearns authored
109
110
63dda36 @dkearns update documentation for next release
dkearns authored
111 = 2006.07.11
112
113 == Omni Completion
114
115 A new omni completion function is now included which offers IntelliSense-like
116 functionality. See :help ft-ruby-omni for further information.
117
118 Note: This will only work with Vim 7.x, compiled with the Ruby interface
119 (+ruby), and Ruby 1.8.x
120
121 == Ruby Filetype Support
122
123 Matchit support has been improved to include (), {}, and [] in the list of
124 patterns meaning these will be appropriately skipped when included in comments.
125
126 == Ruby Syntax Highlighting
127
128 Operators can now be highlighted by defining the Vim global variable
129 "ruby_operators".
130
131 Multiline comments will now be folded. This can be disabled by defining the
132 "ruby_no_comment_fold" Vim variable.
133
134 == Filetype Detection
135
136 RJS and RXML templates are now detected as being 'filetype=ruby'.
137
138 == FAQ
139
140 There is a new FAQ document included. This is a work in progress and any
141 feedback would be appreciated.
142
143 == Bug Fixes
144
145 Ruby syntax file - if/unless modifiers after a method name ending with [?!=]
146 should now be highlighted correctly.
147
148
8cdd2d9 @dkearns updated NEWS for new release
dkearns authored
149 = 2005.10.07
150
151 == Vim 6.4
152
153 This release is included in Vim 6.4.
154
155 == Bug Fixes
156
157 Ruby filetype plugin - symbols were incorrectly being matched as match_words
158 causing the matchit motion command to jump to an incorrect location in some
159 circumstances.
160
161
138d5d6 @dkearns update NEWS for new release
dkearns authored
162 = 2005.10.05
163
164 == Bug Fixes
165
166 Ruby syntax file - allow for comments directly after module/class/def lines
167 without intervening whitespace (fold markers were breaking syntax highlighting).
168
169 Ruby filetype plugin - improve ordering of 'path' elements.
170
171 eRuby syntax file - make use of ruby_no_expensive local to the buffer.
172
173
6cf9ed7 @dkearns update NEWS for new release
dkearns authored
174 = 2005.09.24
175
138d5d6 @dkearns update NEWS for new release
dkearns authored
176 == Filetype Detection
6cf9ed7 @dkearns update NEWS for new release
dkearns authored
177
178 The eruby filetype is now detected solely based on the file's extension. This
179 was being overridden by the scripts.vim detection script.
180
181 Note: Only files ending in *.rhtml are detected as filetype eruby since these
182 are currently assumed to be Ruby embedded in (X)HTML only. Other filetypes
183 could be supported if requested.
184
138d5d6 @dkearns update NEWS for new release
dkearns authored
185 == eRuby Indent File
6cf9ed7 @dkearns update NEWS for new release
dkearns authored
186
187 There is a new eRuby indent file which simply sources the HTML indent file for
188 now.
189
138d5d6 @dkearns update NEWS for new release
dkearns authored
190 == eRuby Compiler Plugin
6cf9ed7 @dkearns update NEWS for new release
dkearns authored
191
192 This now supports erb as the default 'makeprg'. To use eruby set the
193 eruby_compiler variable to "eruby" in your .vimrc
194
138d5d6 @dkearns update NEWS for new release
dkearns authored
195 == Test::Unit Compiler Plugin
6cf9ed7 @dkearns update NEWS for new release
dkearns authored
196
197 This has been improved and should now display messages similar to, though more
198 detailed than, the GUI test runners.
199
200 == Bug Fixes
201
202 A few minor bugs have been fixed in the Ruby syntax and indent files.
203
204
2d6308f @dkearns correct release number in NEWS
dkearns authored
205 = 2005.09.15
69e19c8 @dkearns add INSTALL and NEWS files
dkearns authored
206
207 == eRuby Support
208
209 There are new syntax, compiler, and ftplugin files for eRuby. This support is
210 incomplete and we're keen to hear of any problems or suggestions you may have
211 to improve it.
212
213 == Ruby Filetype Support
214
215 The Ruby filetype plugin has been improved to include as many useful settings
216 as possible without intruding too much on an individual user's preferences.
217 Matchit support has been improved, and the following options are now set to
218 appropriate values: comments, commentstring, formatoptions, include,
219 includeexpr, path, and suffixesadd
220
221 == Filetype Detection
222
223 The new ftdetect mechanism of Vim 6.3 is being utilized to enable filetype
224 detection of eRuby files until this is officially added to the next release of
225 Vim.
226
227 == Installation Directories
228
229 The installer script now, where possible, automatically determines both the
230 user and system-wide preferences directory.
231
232 == Bug Fixes
233
234 A large number of bugs have been fixed in the Ruby syntax and indent files.
Something went wrong with that request. Please try again.