How to remove indentation highlighting in vim?
As I use vim, it tries to be helpful by highlighting groups of four spaces in yellow, as shown.
My .vimrc
file says, in its entirety, set ta开发者_JAVA技巧bstop=4
.
How can I keep vim from highlighting the indentation in my files?
Is this a case of highlighting the last search? If so, try typing ":noh".
If bentsai's answer isn't correct, then there's probably a match pattern in effect. In that case, :call clearmatches()
will remove the highlighting.
Also, :set list will cause the tabs to get NonText highlighting, which might be yellow background. In that case, :set nolist will remove the coloring.
精彩评论