开发者

How to remove indentation highlighting in vim?

开发者 https://www.devze.com 2022-12-30 19:56 出处:网络
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.

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

精彩评论

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