Re:Show HN: vim-airline
by reaperhulk on Sunday July 07, 2013 @04:11PM
(#6003238)
This is slick. Anyone with more vim-fu than me have a good way to add mixed tabs/spaces warnings to airline?
[ Parent
| on HN ]
You can accomplish something similar with listchars and list:
set list
set listchars=tab:»·,trail:·
It will not give you a file-wide warning but it will make tabs stand out (along with trailing whitespace).Not much help if you actually want tabs, granted.
Re:Show HN: vim-airline
by reaperhulk on Sunday July 07, 2013 @07:36PM
(#6004100)
Oddly enough I added listchars data to my vimrc today without even thinking it would be helpful for detecting mixed. This ought to be good enough for now, thanks!
Re:Show HN: vim-airline
by hyperbling on Sunday July 07, 2013 @08:49PM
(#6004391)
here's a blog post i found that does what you need (http://got-ravings.blogspot.com/2008/10/vim-pr0n-statusline-...)
and then you can replace one of the airline sections with it.