macvim-dev / macvim-dev/macvim
Quicklook highlight isn't cleared for selected texts when followed by another quicklook
未关闭
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
Steps to reproduce
- Select multiple words and do quicklook.
- Hover over a different word and invoke quicklook again.
- And again.
Expected behaviour
The first quicklook highlight (ice cream) should clear when the second quicklook is invoked.
Version of MacVim
MacVim r182 (Vim 9.1.1887)
MacVim installation method
MacVim was downloaded from GitHub release and updated via Sparkle.
Environment
macOS: 15.7.3
14" MacBookPro (2023). Apple M2 Pro
Logs and stack traces
Vim and MacVim configuration where issue is reproducable
No response
How was MacVim launched?
- by launching MacVim.app in macOS (by using the Dock, Spotlight, or the
opencommand) - by running mvim/gvim in the terminal
Issue has been tested with clean configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution). You can also use the File → "New Clean Window" menu item within MacVim. - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,按照所述的选中文本并重复调用 quicklook 的步骤,在 MacVim.app 中复现该问题。跟踪 MacVim 源代码中对 quicklook 和 highlight 的处理,然后验证调用后续的 quicklook 会移除之前的高亮,同时保留当前的高亮。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, vim
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100