comparison runtime/optwin.vim @ 8182:95d59081580f v7.4.1384

commit https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 21 23:02:49 2016 +0100 patch 7.4.1384 Problem: It is not easy to use a set of plugins and their dependencies. Solution: Add packages, ":loadopt", 'packpath'.
author Christian Brabandt <cb@256bit.org>
date Sun, 21 Feb 2016 23:15:05 +0100
parents c9fc24b76293
children 54ac275e3fc4
comparison
equal deleted inserted replaced
8181:f478d4537f82 8182:95d59081580f
1 " These commands create the option window. 1 " These commands create the option window.
2 " 2 "
3 " Maintainer: Bram Moolenaar <Bram@vim.org> 3 " Maintainer: Bram Moolenaar <Bram@vim.org>
4 " Last Change: 2015 Nov 10 4 " Last Change: 2016 Feb 21
5 5
6 " If there already is an option window, jump to that one. 6 " If there already is an option window, jump to that one.
7 if bufwinnr("option-window") > 0 7 if bufwinnr("option-window") > 0
8 let s:thiswin = winnr() 8 let s:thiswin = winnr()
9 while 1 9 while 1
226 else 226 else
227 call <SID>OptionG("pt", &pt) 227 call <SID>OptionG("pt", &pt)
228 endif 228 endif
229 call append("$", "runtimepath\tlist of directories used for runtime files and plugins") 229 call append("$", "runtimepath\tlist of directories used for runtime files and plugins")
230 call <SID>OptionG("rtp", &rtp) 230 call <SID>OptionG("rtp", &rtp)
231 call append("$", "packpath\tlist of directories used for plugin packages")
232 call <SID>OptionG("pp", &pp)
231 call append("$", "helpfile\tname of the main help file") 233 call append("$", "helpfile\tname of the main help file")
232 call <SID>OptionG("hf", &hf) 234 call <SID>OptionG("hf", &hf)
233 235
234 236
235 call <SID>Header("moving around, searching and patterns") 237 call <SID>Header("moving around, searching and patterns")