2017-02-06 3 views

답변

2

:

|hl-DiffAdd| DiffAdd  Added (inserted) lines. These lines exist in 
          this buffer but not in another. 
|hl-DiffChange| DiffChange Changed lines. 
|hl-DiffText| DiffText Changed text inside a Changed line. Vim 
          finds the first character that is different, 
          and the last character that is different 
          (searching from the end of the line). The 
          text in between is highlighted. This means 
          that parts in the middle that are still the 
          same are highlighted anyway. Only "iwhite" of 
          'diffopt' is used here. 
|hl-DiffDelete| DiffDelete Deleted lines. Also called filler lines, 
          because they don't really exist in this 
          buffer. 

따라서, 예를 들어, 어떤 추가 된 라인의 색상을 변경해야합니다 귀하의 색상 구성표에

:highlight DiffAdd ctermfg=253 ctermbg=237 guifg=#dadada guibg=#3a3a3a 

있다.

관련 문제