Monday, October 15, 2018

Re: _vimrc loading fails

On Mon, Oct 15, 2018 at 2:43 PM Ni Va <nivaemail@gmail.com> wrote:
>
> Le lundi 15 octobre 2018 14:36:43 UTC+2, Tony Mechelynck a écrit :
> > 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.
>
>
>
>
> Computer A (OK) : Windows 10
>
> echo $VIM gives D:\Logiciels\Vim
> echo $VIMRUNTIME gives D:\Logiciels\Vim\vim81
>
>
> Computer B (KO) : Windows Seven
>
> echo $VIM gives C:\users\foobar\desktop\Vim_x86\Vim_x86
> echo $VIM gives C:\users\foobar\desktop\Vim_x86\Vim_x86\vim81
>
>
> Note : Gvim 8.1.468 build on windows 10 with nmake msvc_build HUGE
>
> What kind of informations are missing because I cannot transmit all kind of infos.
>
> Thank you

Well, please do the following in each of the Vim executables separately:

1. :redir @+
2. :version
3. :redir END

4. paste the result into a reply email but do not send it yet. What
interests me are:
(a) the first few lines, analogous to the following but obviously with
some changes, since you're on Windows and I'm on Linux:

VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 15 2018 01:25:22)
Included patches: 1-477
Compiled by antoine.mechelynck@gmail.com
Big version with GTK2 GUI. Features included (+) or not (-):

(b) whether the list of features below that includes +syntax or -syntax

After having removed the rest (the "uninteresting" parts), you can send it.

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: