Skip to content

mpyatishev/vim-sqlformat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-sqlformat

Simple plugin for formatting SQL using sqlparse.

Inspired by https://github.com/chaosong/orz-scripts/tree/master/vim-sql-formatter

Requirements

python, sqlparse, vim with python or neovim

Installation

sudo pip install sqlparse

Include line to your .vimrc:

NeoBundle 'mpyatishev/vim-sqlformat'

Using

Plugin sets formatexpr for filetype sql, so just use gq for format SQL.

About

SQL formatting plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published