]> granicus.if.org Git - vim/commitdiff
patch 7.4.1528 v7.4.1528
authorBram Moolenaar <Bram@vim.org>
Wed, 9 Mar 2016 21:19:26 +0000 (22:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 9 Mar 2016 21:19:26 +0000 (22:19 +0100)
Problem:    Using "ever" for packages is confusing.
Solution:   Use "start", as it's related to startup.

runtime/doc/repeat.txt
src/ex_cmds2.c
src/version.c

index 30be59cf492d9ef475d989eeb72e595cb701d73f..28a17ae114933bd6782cd08ba98565d0bc945fb3 100644 (file)
@@ -1,4 +1,4 @@
-*repeat.txt*    For Vim version 7.4.  Last change: 2016 Mar 07
+*repeat.txt*    For Vim version 7.4.  Last change: 2016 Mar 09
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -441,16 +441,16 @@ The directory name "foo" is arbitrary, you can pick anything you like.
 
 You would now have these files under ~/.vim:
        pack/foo/README.txt
-       pack/foo/ever/foobar/plugin/foo.vim
-       pack/foo/ever/foobar/syntax/some.vim
+       pack/foo/start/foobar/plugin/foo.vim
+       pack/foo/start/foobar/syntax/some.vim
        pack/foo/opt/foodebug/plugin/debugger.vim
 
 When Vim starts up, after processing your .vimrc, it scans all directories in
-'packpath' for plugins under the "pack/*/ever" directory and loads them.  The
+'packpath' for plugins under the "pack/*/start" directory and loads them.  The
 directory is added to 'runtimepath'.
 
-In the example Vim will find "pack/foo/ever/foobar/plugin/foo.vim" and adds 
-"~/.vim/pack/foo/ever/foobar" to 'runtimepath'.
+In the example Vim will find "pack/foo/start/foobar/plugin/foo.vim" and adds 
+"~/.vim/pack/foo/start/foobar" to 'runtimepath'.
 
 If the "foobar" plugin kicks in and sets the 'filetype' to "some", Vim will
 find the syntax/some.vim file, because its directory is in 'runtimepath'.
@@ -458,7 +458,7 @@ find the syntax/some.vim file, because its directory is in 'runtimepath'.
 Vim will also load ftdetect files, if there are any.
 
 Note that the files under "pack/foo/opt" or not loaded automatically, only the
-ones under "pack/foo/ever".  See |pack-add| below for how the "opt" directory
+ones under "pack/foo/start".  See |pack-add| below for how the "opt" directory
 is used.
 
 Loading packages will not happen if loading plugins is disabled, see
@@ -469,13 +469,13 @@ Using a single plugin and loading it automatically ~
 
 If you don't have a package but a single plugin, you need to create the extra
 directory level:
-       % mkdir -p ~/.vim/pack/foo/ever/foobar
-       % cd ~/.vim/pack/foo/ever/foobar
+       % mkdir -p ~/.vim/pack/foo/start/foobar
+       % cd ~/.vim/pack/foo/start/foobar
        % unzip /tmp/someplugin.zip
 
 You would now have these files:
-       pack/foo/ever/foobar/plugin/foo.vim
-       pack/foo/ever/foobar/syntax/some.vim
+       pack/foo/start/foobar/plugin/foo.vim
+       pack/foo/start/foobar/syntax/some.vim
 
 From here it works like above.
 
index 7a0d0bd94b19fcdd4518f4676467edb3644f9a8e..19d7d19fa25c98653f302ee936385c8b95f4f0e2 100644 (file)
@@ -3118,8 +3118,8 @@ add_pack_plugin(char_u *fname, void *cookie)
            }
 
        /* now we have:
-        * rtp/pack/name/ever/name
-        *    p4   p3   p2   p1
+        * rtp/pack/name/start/name
+        *    p4   p3   p2    p1
         *
         * find the part up to "pack" in 'runtimepath' */
        c = *p4;
@@ -3195,7 +3195,7 @@ theend:
     void
 source_packages()
 {
-    do_in_path(p_pp, (char_u *)"pack/*/ever/*", DIP_ALL + DIP_DIR,
+    do_in_path(p_pp, (char_u *)"pack/*/start/*", DIP_ALL + DIP_DIR,
                                                        add_pack_plugin, p_pp);
 }
 
index af4ebc07f00fd24ddecccc1b0f47f71333ab153f..16855d491f094c4ed12c65c086807f7d5ab35f36 100644 (file)
@@ -743,6 +743,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1528,
 /**/
     1527,
 /**/