分页: 1 / 1
emacs如何高亮80列
发表于 : 2017-07-06 17:54
由 korkthma
网上提供了一些办法达到80列自动换行,超过80列高亮的功能,我希望得到高亮80列的功能,类似vim中set colorcolumn=80的效果
Re: emacs如何高亮80列
发表于 : 2017-07-07 9:35
由 poloshiao
https://www.emacswiki.org/emacs/HighlightLongLines
If you want to highlight long lines you can use
whitespace-mode:
https://www.emacswiki.org/emacs/EightyColumnRule
WhitespaceMode
whitespace mode (part of Emacs 23+) has two interesting options you can set in variable whitespace-style: