Skip to content

Commit cbbc00e

Browse files
committed
Remove especially dumb/old abbreviations
I would like to prune this list much further.
1 parent a776c87 commit cbbc00e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

autoload/rails.vim

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4037,12 +4037,8 @@ function! s:BufAbbreviations()
40374037
Rabbrev coo[ cookies
40384038
Rabbrev fl[ flash
40394039
Rabbrev rr( render
4040-
Rabbrev ra( render :action\ =>\
4041-
Rabbrev rc( render :controller\ =>\
40424040
Rabbrev rf( render :file\ =>\
4043-
Rabbrev ri( render :inline\ =>\
40444041
Rabbrev rj( render :json\ =>\
4045-
Rabbrev rl( render :layout\ =>\
40464042
Rabbrev rp( render :partial\ =>\
40474043
Rabbrev rt( render :text\ =>\
40484044
Rabbrev rx( render :xml\ =>\
@@ -4053,8 +4049,6 @@ function! s:BufAbbreviations()
40534049
endif
40544050
if buffer.type_name('controller')
40554051
Rabbrev re( redirect_to
4056-
Rabbrev rea( redirect_to :action\ =>\
4057-
Rabbrev rec( redirect_to :controller\ =>\
40584052
Rabbrev rst( respond_to
40594053
endif
40604054
if buffer.type_name() ==# 'model' || buffer.type_name('model-arb')
@@ -4097,15 +4091,13 @@ function! s:BufAbbreviations()
40974091
Rabbrev logw( logger.warn
40984092
Rabbrev loge( logger.error
40994093
Rabbrev logf( logger.fatal
4100-
Rabbrev fi( find
41014094
Rabbrev AR:: ActiveRecord
41024095
Rabbrev AV:: ActionView
41034096
Rabbrev AC:: ActionController
41044097
Rabbrev AD:: ActionDispatch
41054098
Rabbrev AS:: ActiveSupport
41064099
Rabbrev AM:: ActionMailer
41074100
Rabbrev AO:: ActiveModel
4108-
Rabbrev AE:: ActiveResource
41094101
for pairs in items(type(g:rails_abbreviations) == type({}) ? g:rails_abbreviations : {}) + items(rails#app().config('abbreviations'))
41104102
call call(function(s:sid.'Abbrev'), [0, pairs[0]] + s:split(pairs[1]))
41114103
endfor

0 commit comments

Comments
 (0)