Re: psql \e and syntax highlighting in vim - Mailing list pgsql-novice

From damien clochard
Subject Re: psql \e and syntax highlighting in vim
Date
Msg-id 4BF28D24.1020702@dalibo.info
Whole thread Raw
In response to psql \e and syntax highlighting in vim  (Ireneusz Pluta <ipluta@wp.pl>)
Responses Re: psql \e and syntax highlighting in vim  (Ireneusz Pluta <ipluta@wp.pl>)
List pgsql-novice
Le 18/05/2010 14:36, Ireneusz Pluta a écrit :
> Hello,
>
> how to force vim to set sql syntax highlighting, without having to
> explicitly type ':set syntax=sql', every time when entering vim with \e
> metacomand from psql?
>
> Thanks
>
> Irek.
>

Have you tried to add "syntax on" to the main configuration file
(/etc/vim/vimrc) ?



pgsql-novice by date:

Previous
From: Ireneusz Pluta
Date:
Subject: psql \e and syntax highlighting in vim
Next
From: "A. Kretschmer"
Date:
Subject: Re: psql \e and syntax highlighting in vim