英文:
vimdiff style color question: top & bottom lines
问题
我无法找到更改vimdiff中顶部和底部行的guifg和guibg颜色的突出显示名称(或突出显示组)。 (状态栏上方的底部行,即)。
(更具体地说,它们是在左边有“+ -”的行,位于行号右侧。)
在附加的截图中,这些是行号1和18。 (它们是具有明亮银色背景和青色前景颜色的行。)
我想要能够在我的vimrc中更改这些行的颜色。
我已经查阅了Vim参考手册中关于突出显示和:highlight组的所有信息,并进行了几次搜索,目前还没有找到有用的信息。
感谢任何见解。
英文:
I cannot find what the highlight name (or highlight group) is to change the guifg and guibg colors of the top and bottom lines in vimdiff. (The bottom line above the statusline, that is).
(More specifically, the lines with the "+--" at their left edge, to the right of the line number.)
In the attached screenshot, these are line numbers 1 and 18. (They're the lines with the bright silver background and cyan foreground colors.)
I would like to be able to change the colors of those lines in my vimrc.
I've looked through the Vim Reference Manual at everything I could find on highlighting and :highlight groups and have done several searches that have so far yielded no useful info.
Thanks for any insights.
答案1
得分: 0
Folded
是负责这些行的组。请查看 :help hl-Folded
。
将来,您可以使用 :so $VIMRUNTIME/syntax/hitest.vim
尝试在视觉上找到匹配的组。
英文:
Folded
is the group responsible for those lines. See :help hl-Folded
.
In the future, you can use :so $VIMRUNTIME/syntax/hitest.vim
to try to visually find the matching group.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论