Commit Graph

9 Commits

Author SHA1 Message Date
Akshay Hegde eac824a161 Use tpope's fork of the original _gem completion gist.
- Does not fail when you try to tab complete the first time.
- Seems to be much faster.
2014-04-29 17:25:13 -07:00
Zhao Cai 75bf6f64c2 (gem) Add open command 2013-04-29 20:25:40 -04:00
Zhao Cai d3a6d8fbcc Check GEM_HOME to compare recency 2013-04-29 20:19:50 -04:00
Zhao Cai d2ce821cc8 Use cache-policy for _gem 2013-04-29 20:19:50 -04:00
Zhao Cai 7e02122470 _gem: update for browse, edit and clone commands 2013-04-11 17:39:32 -04:00
Kazuya Takeshima 095a8b7080 Fix to quote _files -g option argument 2013-01-16 13:13:48 +09:00
Laurent Arnoud 104562a111 Added gem push completion. 2012-10-01 00:29:10 +02:00
Aaron Schrab 3f55429b0e Move modelines to end of file
Having a vim modeline or emacs local variable line somewhere in the
middle of the file isn't really helpful.  By default, vim will only
check the first and last 5 lines of a file for a modeline (assuming the
modeline option is enabled).  Emacs is even more strict about the type
of local variable line that was in use, it will only check the first
line of the file or the second line if the first line specifies a script
interpreter (which isn't the case here).

Move the vim modeline to the end of the file so that it can actually be
found by vim but is out of the way for editing.  For emacs more work is
required, convert that to the more verbose Local Variables syntax which
emacs will look for starting 3000 characters from the end of the file.

Also there is no zsh mode for emacs (according to
zsh-users/zsh-completions#75), use the "Shell-Script" mode instead.
This seems to automatically detect that the files are for zsh.

I'm not an emacs user, so I haven't tested that portion much.  But, this
does at least improve the syntax highlighting there.
2012-08-23 11:18:49 -04:00
Julien Nicoulaud 10ffeb0c15 [BREAKING CHANGE] Move compdefs to own directory (to ease packaging and
avoid bloating users fpath with unneeded files such as README.md)
2012-08-01 13:23:11 +02:00