Lcd wrote:
> Placing a colour scheme like this should work, but it doesn't:
>
> $VIM/vimfiles/pack/my/ever/molokai/colors/molokai.vim
>
> The reason it doesn't work is that mandatory plugins are sourced
> after vimrc, and thus the new scheme can't be set from vimrc.
>
> To make it work, it can be made optional:
>
> $VIM/vimfiles/pack/my/opt/molokai/colors/molokai.vim
>
> and then it can be forced to load early with a packadd:
>
> packadd molokai
> colorscheme molokai
>
> The only problem is, logically it isn't an optional package. There
> is no point in disabling a colour scheme. Pathogen doesn't have this
> problem because you're supposed to call pathogen#infect() near the top
> of vimrc, so all plugins are loaded early. It would be nice to have a
> command to force mandatory plugins to load at a given point.
The simplest solution (for the user) would be that :colorscheme also
finds matches in the "ever" directory under 'packpath'.
That's not a generic solution though. Perhaps we need ":packaddever".
Or ":packadd EVER".
--
The average life of an organization chart is six months. You can safely
ignore any order from your boss that would take six months to complete.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.