Gvim under Linux: Quirky ligatures and no texture healing

未关闭
#244 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
linux, vim
领域
design, desktop

调研方向

在 Linux Mint 21.3 上使用 Monaspace v1.101,并采用所示的 guifont、guiligatures 和 renderoptions 设置,在 Gvim 8.2.2121 中复现该报告。比较纹理修复和连字渲染,尤其是发生偏移的斜杠,并确定该行为是由 Monaspace、Gvim 还是配置导致的;记录结果以及任何已确认的修复或 workaround。

由索引模型根据 Issue 内容生成。

描述

waiting for user

Now that #17 is fixed (thank you!), I'm trying Monaspace out in Gvim again. The font appears, but texture healing isn't working, and when I try to enable ligatures, it's quirky.

Software versions:

  • Linux Mint 21.3 Cinnamon
  • Gvim 8.2.2121
  • Monaspace v1.101

Gvim settings:

set guifont=Monaspace\ Neon
" The following line causes the quirky ligatures
set guiligatures=!\"#$%&()*+-./:<=>?@[]^_{\|~}
" Originally I had the following line as well, but since this setting only applies to Windows, it's irrelevant
set renderoptions=type:directx

The results look like the example on the Monaspace website with Texture healing unticked.

The attached screenshot is with guiligatures set; note that the slashes (/) at the beginning of the comments are offset to the left and not fully rendered. Interestingly, this doesn't happen when the block cursor is over it, so it might be an issue with Gvim or whatever it uses to render the character, but it would be helpful to know whether I'm setting this up correctly. Let me know if there are any other settings that I could try, or applications other than Gvim that you would expect to work. Thanks.

Screenshot from 2024-08-06 15-11-02

主要语言
Shell
星标
19.9k
派生
325
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/monaspace 的其他 Issue

查看 githubnext/monaspace 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。