Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Triple-colon ligature in ss07 has odd cursor placement in specific scenarios

オープン
#216 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
vscode
領域
design

調査の方向性

まず、VS Code v1.100 または v1.101 で、右側に赤い波線を付けた triple-colon ss07 ligature を再現し、その後、ss07 を無効にした場合、v1.000、および Fira Code とカーソルの挙動を比較します。波線がある場合も含め、カーソルの移動と視覚的な配置がリガチャ全体で一貫していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

In vscode, the interaction between the triple-colon ligature from ss07 (:::) and red squigglies seems to cause issues with cursor placement. Under certain circumstances, the triple-colon ligature renders correctly, but the cursor treats it as two 1.5-wide colon characters and a single 0-width colon.

I've observed this issue in v1.100 and v1.101, but not in v1.000.

In this screenshot, the cursor is logically placed between the 1st and 2nd colon from the left, but visually appears in the middle of the 2nd colon:

329493627-04b163af-7411-4df0-9cef-1e8a3ad1a0a5

Moving the cursor right by 1 character places it at the end of the :::, and moving it right again doesn't visually move the cursor.

After moving it right once:

image

And again (no visual change):

image

It's also worth noting that this only seems to happen when red squigglies are involved on the right side of the triple-colon ligature:

image

This is with ss07 disabled:

image

This is from v1.000, which doesn't appear to have the ligature:

329494799-dcef3275-d021-462a-8184-03bcf93fad8f

Also, this seems to only happen with Monaspace's triple-colon ligature. Here's an example of how it looks with Fira Code and its ligatures enabled:

329495443-6578aaf9-1d8a-484f-8470-42c74dd309f5

(I had originally posted about this in the Nerd Fonts repo related to a different issue I had come across, but this appears to be Monaspace.)

主要言語
Shell
スター
19.7k
フォーク
325
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

githubnext/monaspace のほかの issue

githubnext/monaspace の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。