Visualizzare i segni di tabulazione ed a capo con vim

From RVM Wiki
Revision as of 19:58, 10 June 2008 by Gabriele.vivinetto (talk | contribs) (New page: You can use :set list (which defaults to "nolist"), which shows tabs as ^I and puts a "$" at the end of lines. You can also define highlighting regions with "syn match" to define a sin...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

You can use

:set list

(which defaults to "nolist"), which shows tabs as ^I and puts a "$" at the end of lines.

You can also define highlighting regions with "syn match" to define a single tab.

You can then link this to whatever highlighting you like perhaps using the following:

:syn match TAB_CHAR "\t"
:hi link TAB_CHAR Error

Riferimenti