Thursday, September 5, 2013

No syntax highlighting in vimdiff

Vim Syntax highlight often mixed with diff color, which makes text unreadable.

Add following line in ~/.vimrc to turn off syntax off in vimdiff

if &diff | syntax off | endif

4 comments:

  1. this really help a lot. thanks!

    ReplyDelete
  2. Thanks a lot this helped lot and saved my time.

    ReplyDelete
  3. Casinos that Accept Us - DrmCD
    Many 인천광역 출장안마 players prefer the welcome bonus 화성 출장샵 offered by the casino, and that's because it gives them 안산 출장안마 an opportunity to enjoy a Jul 경상남도 출장샵 31, 2019 · Uploaded by 서산 출장안마 CasinoGames

    ReplyDelete