Vim:如何用光标线突出显示折叠?

发布于 2024-09-24 04:02:27 字数 33 浏览 0 评论 0原文

是否有可能用光标线突出显示当前行而不是折叠突出显示?

Is there a possibility to highlite current line with cursorline over folding highlite?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

世界等同你 2024-10-01 04:02:27

不,闭合折叠颜色胜过光标线/光标列突出显示

如果您下定决心,您可以尝试使用符号(:he sign.txt)来完成您的工作。另请参阅 ShowMarks 插件

Check :version 来查看 +signs 是否已编译为

哦,当然,您可以使用自动命令来更新符号(为当前行 ('.) 定义它)并查看更新时间设置

Nope, the closed fold color wins over the cursorline/cursorcolumn highlight

You could try to use signs (:he sign.txt) to do your job if you are determined. Also see ShowMarks plugin

Check :version to see whether +signs was compiled in

Oh, of course you'd have autocommands to update the sign (define it for the current line ('.)) and see updatetime setting as well

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文