A Vim plugin that runs zprint
when you save.
Most of the code is based off vim-go.
You must install zprint
first.
If you use Homebrew, you can do it with brew install bfontaine/utils/zprint
.
git clone https://github.com/bfontaine/zprint.vim ~/.vim/bundle/zprint.vim
Plug 'bfontaine/zprint.vim'
Plugin 'bfontaine/zprint.vim'
Clone this repository, then copy the files from autoload
and ftplugin
in the same directories
under ~/.vim
.
The variable g:zprint#options_map
will be passed to the zprint
call as its options map.
" use the project-specific .zprintrc instead of the global one, if available
let g:zprint#options_map = '{:search-config? true}'
The variable g:zprint#make_autocmd
determines whether to create the autocmd to run
zprint
when a file is saved or not. Defaults to v:true
.
let g:zprint#make_autocmd = v:false