Skip to content

DevotedHealth/vim-snowflakefmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-snowflakefmt

Run snowflakefmt on sql code.

snowflakefmt is an internal binary so unfortunately, this won't work outside of Devoted Health at the moment. You can set the command with let g:sqlfmt_command = 'sqlfmt' or something else, but should considering using https://github.com/b4b4r07/vim-sqlfmt, which this project is just a light modification around.

Installation

Plugin 'DevotedHealth/vim-snowflakefmt'

Usage

Run :w to format automatically after save. If you set g:sqlfmt_auto to 0, this behavior will be disabled.

It can also be executed directly as follows:

:SQLFmt [files...]

About

Vim wrapper around snowflakefmt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors