Sunday, November 25, 2012

Re: set runtimepath

On 15:31 Sun 25 Nov , rail shafigulin wrote:
> I was trying to understand how runtimepath option works and was
> experimenting with it. I bumped onto a small problem.
>
> I set up my runtimepath and copy mycolor.vim file into it. After I set my
> runtimepath, :set runtimepath=~/Projects/learningvimthehardway/colors, I
> run the color command, :color mycolor. I get the following message: E185:
> Cannot find color scheme mycolor.
>
> Does anybody know why it is doing it? I do see the file mycolor.vim in my
> runtimepath directory.

With your settings of the runtimepath you should place your color file
in the directory: ~/Projects/learningvimthehardway/colors/colors

The 'runtimepath' is a path to the parent directory of the subdirectories
like plugin (where you put your plugins), ftplugin (where you put file
type plugins), colors (for colors), etc ... You can read ":help
'runtimepath'".

Best,
Marcin

--
You received this message from the "vim_use" 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

No comments:

Post a Comment