1bdf100aad
Having default values for options that depend on another option's value is a bad practice. Be more explicit: g:signify_sign_show_text is ON by default g:signify_sign_show_count is ON by default So, people who want just background colors and no text at all in their signs have to set both: let g:signify_sign_show_text = 0 let g:signify_sign_show_count = 0 Before this change, only the first line was needed. This also fixes a bug that happened with: let g:signify_sign_show_text = 0 let g:signify_sign_show_count = 1 Removed lines wouldn't show a count whereas changed + removed lines would. |
||
---|---|---|
autoload | ||
doc | ||
pictures | ||
plugin | ||
.gitignore | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
showcolors.bash |
Signify (or just Sy) uses the sign column to indicate added, modified and removed lines in a file that is managed by a version control system (VCS).
- Supports git, mercurial, darcs, bazaar, subversion, cvs, rcs, fossil, accurev, perforce, tfs.
- Asynchronous execution of VCS tools for Vim 7.4.1967+ and Neovim.
- Preserves signs from other plugins.
- Handles nested repositories controlled by different VCS.
- Provides mappings for navigating hunks ("blocks of changed lines").
- Provides an operator that acts on hunks.
- Alternative workflow: Disable the plugin by default and toggle it per buffer on demand.
- Optional line highlighting.
- Optional skipping of filetypes/filenames.
- Optional stats in the statusline.
- Works out of the box, but allows fine-grained configuration.
- Great documentation and handsome maintainers!
If git is the only version control system you use, I suggest having a look at vim-gitgutter.
Installation
Use your favorite plugin manager, e.g. using vim-plug:
Plug 'mhinz/vim-signify'
Documentation
- Understand how the plugin works:
:h signify-modus-operandi
- Spare the plugin some work and read:
:h g:signify_vcs_list
Demo
Author and Feedback
If you like this plugin, star it! It's a great way of getting feedback. The same goes for reporting issues or feature requests.
Contact: Twitter
Co-maintainer: @jamessan