aben20807 / blog-post-issues

https://aben20807.github.io/
MIT License
9 stars 2 forks source link

vim diff color #45

Open aben20807 opened 5 years ago

aben20807 commented 5 years ago

How to get group name of highlighting under cursor in vim?

:echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')

https://jonasjacek.github.io/colors/

aben20807 commented 5 years ago

https://github.com/vim/vim-history/blob/master/runtime/syntax/diff.vim