Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group