[coreboot] Highlight trailing spaces in our editors (vim, emacs, ..

Bao, Zheng Zheng.Bao at amd.com
Wed Aug 4 08:21:28 CEST 2010


When the trailing spaces are highlighted, it is easy for us to delete it
and don't create new trailing spaces.

Zheng

Vim:
Add following lines in the .vimrc
"""""""""
Highlight ExtraWhitespace ctermfg=DarkGray ctermbg=yellow
" Show trailing whitespace:
:match ExtraWhitespace /\s\+$/


Emacs:
Add the following lines into the .emacs
(setq-default show-trailing-whitespace 1)





More information about the coreboot mailing list