Gentoo Archives: gentoo-user

From: "François-Xavier CARTON" <fx.carton@×××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] vimrc in (g)vim and highlighting
Date: Sat, 05 Oct 2019 04:04:06
In Reply to: [gentoo-user] vimrc in (g)vim and highlighting by Samuraiii
On 10/3/19 10:23 AM, Samuraiii wrote:
> Hi list, > > I have strange problem with my ~/.vimrc file. > > When I have it (does not matter if it is empty or not), the syntax > highlighting is not working at all. > > But when I delete it, vim highlights as expected (I have already tried > to set "incompatible" mode in vimrc with no success). > > Cheers > > S > >
Do you have "syntax on" on your .vimrc? If you do and it's not working, you can debug what is executed at startup by running "vim -D", and check that no plugin set "syntax off" or "set compatible". Hope this helps.