Mercurial > vim
comparison src/ex_cmds2.c @ 8475:aec051e61547 v7.4.1528
commit https://github.com/vim/vim/commit/af1a0e371e739f8dff337fd31da0ff8ffb347b43
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 9 22:19:26 2016 +0100
patch 7.4.1528
Problem: Using "ever" for packages is confusing.
Solution: Use "start", as it's related to startup.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 09 Mar 2016 22:30:07 +0100 |
parents | 1a6527cce675 |
children | b4350a4d1e01 |
comparison
equal
deleted
inserted
replaced
8474:d69a804ff41a | 8475:aec051e61547 |
---|---|
3116 { | 3116 { |
3117 p4 = p3; p3 = p2; p2 = p1; p1 = p; | 3117 p4 = p3; p3 = p2; p2 = p1; p1 = p; |
3118 } | 3118 } |
3119 | 3119 |
3120 /* now we have: | 3120 /* now we have: |
3121 * rtp/pack/name/ever/name | 3121 * rtp/pack/name/start/name |
3122 * p4 p3 p2 p1 | 3122 * p4 p3 p2 p1 |
3123 * | 3123 * |
3124 * find the part up to "pack" in 'runtimepath' */ | 3124 * find the part up to "pack" in 'runtimepath' */ |
3125 c = *p4; | 3125 c = *p4; |
3126 *p4 = NUL; | 3126 *p4 = NUL; |
3127 insp = (char_u *)strstr((char *)p_rtp, (char *)ffname); | 3127 insp = (char_u *)strstr((char *)p_rtp, (char *)ffname); |
3193 * Find plugins in the package directories and source them. | 3193 * Find plugins in the package directories and source them. |
3194 */ | 3194 */ |
3195 void | 3195 void |
3196 source_packages() | 3196 source_packages() |
3197 { | 3197 { |
3198 do_in_path(p_pp, (char_u *)"pack/*/ever/*", DIP_ALL + DIP_DIR, | 3198 do_in_path(p_pp, (char_u *)"pack/*/start/*", DIP_ALL + DIP_DIR, |
3199 add_pack_plugin, p_pp); | 3199 add_pack_plugin, p_pp); |
3200 } | 3200 } |
3201 | 3201 |
3202 /* | 3202 /* |
3203 * ":packadd[!] {name}" | 3203 * ":packadd[!] {name}" |