Visualizzare i segni di tabulazione ed a capo con vim

From RVM Wiki
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