How to show tab character while using expandtab setting in vim
- by Plugawy
In my .gvimrc I have following lines:
set listchars=tab:\.\ ,trail:-
set softtabstop=2
set shiftwidth=2
set tabstop=2
set expandtab
When I change last line to set noexpandtab the indents can be seen and marked with .
Is there a way to make vim treat expanded tabs like "normal" tab so that list option works as expected?