Revert "Add themes under packpath to Edit > Color Scheme."

This commit is contained in:
Kazuki Sakamoto
2016-10-15 11:51:59 -07:00
committed by GitHub
parent 673a11a9d1
commit 2ae331a486

View File

@@ -389,7 +389,6 @@ endfun
" get NL separated string with file names
let s:n = globpath(&runtimepath, "colors/*.vim")
let s:n .= globpath(&packpath, "pack/*/{opt,start}/*/colors/*.vim")
" split at NL, Ignore case for VMS and windows, sort on name
let s:names = sort(map(split(s:n, "\n"), 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)