Skip to content

Commit 61c3cf2

Browse files
authored
Merge pull request #331 from lifepillar/colorscheme-menu
Add themes under packpath to Edit > Color Scheme.
2 parents 8f76c00 + c2ff332 commit 61c3cf2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runtime/menu.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ endfun
389389

390390
" get NL separated string with file names
391391
let s:n = globpath(&runtimepath, "colors/*.vim")
392+
let s:n .= globpath(&packpath, "pack/*/{opt,start}/*/colors/*.vim")
392393

393394
" split at NL, Ignore case for VMS and windows, sort on name
394395
let s:names = sort(map(split(s:n, "\n"), 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)

0 commit comments

Comments
 (0)