[go: nahoru, domu]

Skip to content

Vim wrapper around snowflakefmt

License

Notifications You must be signed in to change notification settings

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

No packages published