File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1090,8 +1090,8 @@ function! s:app_tags_command() dict
10901090 call s: error (" ctags not found" )
10911091 return ' '
10921092 endif
1093- let args = s: split (get (g: , ' rails_ctags_arguments' , ' --languages=-javascript ' ))
1094- exe ' !' .cmd.' -f ' .s: escarg (self .path (" tags" )).' -R --langmap="ruby:+.rake.builder.jbuilder.rjs" ' .join (args ,' ' ).' ' .s: escarg (self .path ())
1093+ let args = s: split (get (g: , ' rails_ctags_arguments' , ' --languages=ruby ' ))
1094+ exe ' !' .cmd.' -f ' .s: escarg (self .path (" tags" )).' -R ' .join (args ,' ' ).' ' .s: escarg (self .path ())
10951095 return ' '
10961096endfunction
10971097
Original file line number Diff line number Diff line change @@ -844,10 +844,10 @@ This variable was formerly used to globally disable abbreviations. Use
844844g:rails_no_abbreviations if you want to do that.
845845
846846 *g:rails_ctags_arguments*
847- Additional arguments to pass to ctags from | :Ctags | . Defaults to ignoring
848- JavaScript files, since ctags has a tendency to choke on those .
847+ Additional arguments to pass to ctags from | :Ctags | . Defaults to limiting to
848+ Ruby files.
849849>
850- let g:rails_ctags_arguments = ['--languages=-javascript ']
850+ let g:rails_ctags_arguments = ['--languages=ruby ']
851851<
852852 *g:rails_projections* >
853853 Defines the set of globally available projections. See | rails-projections | .
You can’t perform that action at this time.
0 commit comments