Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要我的插件在活动缓冲区中直观地标记某些行(标记行的标准在这里无关紧要)。
有没有办法在 vimscript 中做到这一点?
“视觉标记”是指更改背景颜色,或者为标记和未标记的线条设置不同颜色的边距。
使用标志。有关详细信息,请参阅:h signs,或以此类插件为例:
:h signs
https://github.com/airblade/vim-gitgutter