Monday, October 15, 2018

Re: _vimrc loading fails

On Mon, Oct 15, 2018 at 2:29 PM Ni Va <nivaemail@gmail.com> wrote:
>
> Le lundi 15 octobre 2018 14:07:29 UTC+2, Christian Brabandt a écrit :
> > On Mo, 15 Okt 2018, Ni Va wrote:
> >
> > > but I don't see syntax colors is missing out of this was loaded on
> > > initial computer
> > > 21: D:/Logiciels/Vim/vim81/syntax/nosyntax.vim
> >
> > nosyntax.vim will only be visible, if you issue `:syntax off`.
> >
> >
> > Best,
> > Christian
> > --
> > Der Abenteurer ist unentbehrlich, das wird allerdings erst
> > erkannt, wenn sich herausstellt, daß er Amerika entdeckt hat.
> > -- Ludwig Marcuse (Argumente und Rezepte)
>
> Ok so I don't understand why in one case $vim/vimfiles/colors/nivacolors.vim are loaded on computer A and in other case it is not.
>
> This load is called from $MYVIMRC : colors nivacolors.cim
>
> The only thing I note is difference directory from which gvim is launched.
>
> Computer A (OK) : D:\Softwares\Vim\vim81\gvim.exe
> Computer B (KO) : ~\Desktop\Vim\vim81\gvim.exe

Well, unless you unintentionally made a typo, ":colors nivacolors.cim"
cannot load nivacolors.vim because the name is different.

If it _is_ a typo, the following explanations are possible:
- the Vim executable which loads neither nosyntax.vim nor
nivacolors.vim was compiled with -syntax (see the output of :version)
- or else, it did not execute, respectively, the statements ":syntax
off" and ":colorscheme nivacolors". The suffix .vim is not necessary
in the command argument.

Best regards,
Tony.

--
--
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

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

No comments: