Re: psql \e and syntax highlighting in vim

From: damien clochard <damien(at)dalibo(dot)info>
To: Ireneusz Pluta <ipluta(at)wp(dot)pl>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: psql \e and syntax highlighting in vim
Date: 2010-05-18 12:50:44
Message-ID: 4BF28D24.1020702@dalibo.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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) ?

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message A. Kretschmer 2010-05-18 12:51:04 Re: psql \e and syntax highlighting in vim
Previous Message Ireneusz Pluta 2010-05-18 12:36:53 psql \e and syntax highlighting in vim