John Isom
322d0659fd
Add 'when' to list of keywords that signifies end for ruby-insert-on-new-line
2020-08-01 11:54:57 -06:00
John Isom
d6e3c1ff19
Fix deindenting nested blocks/statements
2020-08-01 10:52:26 -06:00
John Isom
b7490d853d
Add support for deindenting rescue
statment when part of def
(instead of just begin
)
2020-08-01 10:28:54 -06:00
John Isom
e84ebfdfab
Replace ') <a-&>' with '1<a-&>'
2020-08-01 10:16:48 -06:00
John Isom
c793712318
Fix ruby-indent-on-char
2020-07-31 19:24:19 -06:00
Alex Leferry 2
002e0f8790
Ruby: Better matching of divisions
...
Do not include prefix data in match.
2020-07-20 22:03:27 +02:00
Alex Leferry 2
2219f0ef78
Ruby: Add support for %{…} percent string literals
2020-07-09 11:24:22 +02:00
Las
e142a37f21
rc ruby: Don't recognize "keyword"-like identifiers
...
In Ruby, identifiers can end with a `!` or `?` too, which means that `class!` or `end?`are not actually keywords, but regular identifiers. This fixes that by not using `\b` but `[^0-9A-Za-z_!?]` instead in some places.
2020-03-25 21:18:21 +09:00
Frank LENORMAND
21614cb06e
src: Create a <semicolon> named key
...
This commit allows using the <semicolon> expansion in commands, instead
of `\;`.
It makes commands look more elegant, and prevents new-comers from
falling into the trap of using <a-;> without escaping the semicolon.
2019-10-22 11:02:06 +02:00
Olivier Perret
fac05f3ea0
[rc] Use 'fail' when the alternative file cannot be found
...
This makes it possible to implement a fallback strategy using 'try .. catch',
for cases where the alternative file is not stored in a subdirectory
2019-10-08 18:06:54 +02:00
Dmitry Matveyev
68cdfb9b9d
Add more ending blocks for ruby "end" keyword autoinsertion
2019-06-21 13:55:14 +03:00
Dmitry Matveyev
01159a9e72
Add support for autoformatting after do keyword in Ruby
2019-06-12 09:03:24 +03:00
Dmitry Matveyev
329ede9094
Add test/ ruby-alternative-file implementation
2019-05-25 12:39:52 +03:00
Justin Frank
80ac46e09d
Fixed many of the filetype support modules to not use BufSetOption
to load
2019-04-09 20:54:19 -07:00
Justin Frank
1fab727f2b
Modified a bunch of language support files to use modules
2019-04-08 17:02:44 -07:00
Alex Leferry 2
c0dccdd90d
Add categories in rc/
...
Closes #2783
2019-03-21 01:06:16 +01:00