Skip to content

bfontaine/zprint.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zprint.vim

A Vim plugin that runs zprint when you save.

Most of the code is based off vim-go.

Install

You must install zprint first.

If you use Homebrew, you can do it with brew install bfontaine/utils/zprint.

Pathogen

git clone https://github.com/bfontaine/zprint.vim ~/.vim/bundle/zprint.vim

VimPlug

Plug 'bfontaine/zprint.vim'

Vundle

Plugin 'bfontaine/zprint.vim'

Manual installation

Clone this repository, then copy the files from autoload and ftplugin in the same directories under ~/.vim.

Configuration

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

About

A Vim plugin that runs zprint when you save.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks