/gsql-vim

GSQL Vim Syntax Highlighting

Primary LanguageVim ScriptMIT LicenseMIT

GSQL Syntax highlighting

GSQL is what Tigergraph uses as it's graph query language.

I've based this off sql.vim.

Install

Use your favorite plugin manager.

I use vim-plug:

Plug 'jmeekhof/gsql-vim'

Quick Use of a plugin manager

This is the quickest way I've found to use a plugin manager, such as vim-plug.

Adding the following snippet to your ~/.vimrc should do the trick:

if empty(glob('~/.vim/autoload/plug.vim'))
    silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
        \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')

Plug 'jmeekhof/gsql-vim'

call plug#end()