comparison runtime/menu.vim @ 14637:0ecb909e3249

Update runtime files. commit https://github.com/vim/vim/commit/fc65cabb15d0236bce001ad78e12a40511caf941 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 28 22:58:02 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Aug 2018 23:00:08 +0200
parents 696794fe4bce
children 405309f9dd13
comparison
equal deleted inserted replaced
14636:91eef21ff090 14637:0ecb909e3249
354 return 354 return
355 endif 355 endif
356 let s:did_setup_color_schemes = 1 356 let s:did_setup_color_schemes = 1
357 357
358 let n = globpath(&runtimepath, "colors/*.vim", 1, 1) 358 let n = globpath(&runtimepath, "colors/*.vim", 1, 1)
359 let n += globpath(&runtimepath, "pack/*/start/*/colors/*.vim", 1, 1)
360 let n += globpath(&runtimepath, "pack/*/opt/*/colors/*.vim", 1, 1)
359 361
360 " Ignore case for VMS and windows, sort on name 362 " Ignore case for VMS and windows, sort on name
361 let names = sort(map(n, 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1) 363 let names = sort(map(n, 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)
362 364
363 " define all the submenu entries 365 " define all the submenu entries