Skip to content

yuhanfang/vim-autoformat-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vim-autoformat-extensions

This plugin simplifies adding certain formatters.

Installation

Vundle:

Plugin 'Chiel92/vim-autoformat'  " format files
Plugin 'yuhanfang/vim-autoformat-extensions'

Example

The vim-autoformat framework expects formatters to read from stdin and write to stdout. The bazel buildifier mutates the file when formatting. To register this in a compatible way, add the following to .vimrc:

autocmd BufReadPost * call fang#DeclareMutatingFormatter("bzl", '"buildifier"')

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published