But char width does not work for some full width characters.
Emacs git gutter.
Unsubscribe from mike zamansky.
Of course there s some things which can be improved but people have real life and other things to do so be kind.
So you should explicitly specify window width if you use full width character.
For example if vc supports new vcs which is greater than git diff hl works with such vcs with no code modification.
Add melpa as a package source.
Emacs has char width function which returns character width.
You add following s exp in your configuration file emacs d init elor emacs.
You can use git gutter fringe even if you disable vc mode.
Emacs comes with a generic version control front end called versioncontrol or vc.
In terms of emacs ecosystem a year without commits means not too much.
Add the following to your emacs file global git gutter mode t if you want to disable git gutter for some modes set the variable git gutter disabled modes.
Emacs comes with a front end for git supporting a large subset of git s functionality.
Subscribe subscribed unsubscribe 6 17k.
Git gutter el uses it for calculating character length of the signs.
Run m x package install git gutter.
Git gutter el uses it for calculating character length of the signs.
It supports git and many other version control system vcs.
It contains patches that haven t yet been added to git gutter changelog.
Diff hl is based on emacs vc.
This is a good choice if you use other vcs besides git or have no desire to use features unique to git.
You can not use both git gutter el and git gutter fringe el.
While diff hl benefits from vc.
You could really care about state of a emacs package if you see 2014 year or even older.
If you want to use git gutterfor files in git repository.
Just try it because git gutter works fine in the recent stable emacs.
But char width does not work for some full width characters.
Git gutter elprovides global minor mode global git gutter mode and minor mode git gutter mode.
So you should explicitly specify window width if you use full width character.
In contrast git gutter fringe eldoes not work in tty frame emacs nw but git gutter elcan work in tty frame.
Git gutter eldoes not work with linum modebut git gutter fringe elcan work with linum mode.