> > Tab completion for :colorscheme shows them, but the set colorscheme
> > menu only appears to show themes under $HOME/vimfiles/colors (and the
> > default ones)
> 
> Does this patch fix it:
> 
> --- /vim/git/runtime/menu.vim   2018-07-23 05:09:05.597235618 +0200
> +++ ../runtime/menu.vim 2018-08-21 22:04:01.845987971 +0200
> @@ -356,6 +356,8 @@
>    let s:did_setup_color_schemes = 1
>  
>    let n = globpath(&runtimepath, "colors/*.vim", 1, 1)
> +  let n .= globpath(&runtimepath, "pack/*/start/*/colors/*.vim", 1, 1)
> +  let n .= globpath(&runtimepath, "pack/*/opt/*/colors/*.vim", 1, 1)
>  
>    " Ignore case for VMS and windows, sort on name
>    let names = sort(map(n, 'substitute(v:val, 
> "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)

But use "+=" instead of ".=" (it's a list, not a string).

The reason I didn't notice right away is that this is done lazyly, the
error only happens a bit later.  That also means it should not slow down
Vim too much.

-- 
Any resemblance between the above views and those of my employer, my terminal,
or the view out my window are purely coincidental.  Any resemblance between
the above and my own views is non-deterministic.  The question of the
existence of views in the absence of anyone to hold them is left as an
exercise for the reader.  The question of the existence of the reader is left
as an exercise for the second god coefficient.  (A discussion of
non-orthogonal, non-integral polytheism is beyond the scope of this article.)
                                                (Ralph Jennings)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui