开发者

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.

How to remove indentation highlighting in vim?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜