vsql + vim Tip

Moderator: NorbertKrupa

Post Reply
User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

vsql + vim Tip

Post by JimKnicely » Tue May 01, 2012 1:32 pm

For people who use vsql and the editor VIM, you can enable syntax highlight by adding the following lines to ~/.vimrc :

Code: Select all

if $_ == '/opt/vertica/bin/vsql'
        set syntax=sql
endif
PS. Thanks to vertica-forums user sKwa for this handy tip!
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “vSQL”