nvim: Spaces in filenames break status line

オープン 初心者向け
#663 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
neovim, rust
領域
devtools

調査の方向性

NeovimプラグインのREADMEにあるステータスラインの設定手順から始め、プラグインがファイル名とカーソル位置をどのようにステータスラインに渡すかを追ってください。2つのNeovimインスタンスで a b という名前のファイルを開き、表示されるファイル名を確認して問題を再現してください。ステータスラインにスペースも含めて a b と正しく表示されれば完了です。

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

説明

bug nvim

Describe the bug
When setting up a status line according to the instructions in the nvim plugin README, if a user is in a file with spaces in its name, that space is displayed as a long space + a number that seems to be related to the cursor position.

To Reproduce
If you can, please give us steps to reproduce the behavior:

  1. Start a Teamtype daemon in a directory.
  2. Open a file called a b in Neovim.
  3. Open a second Neovim on that file.

The status bar shows that the other cursor is in file a 32, for example.

Expected behavior
The file should be displayed as a b.

Versions:

  • teamtype --version: teamtype 0.9.2+r143 (c68f7f92e 1980-01-01)
  • Which text editor are you using to collaborate, and which version? NVIM v0.12.6
  • Which version of the editor plugin are you using? Latest main branch
主要言語
Rust
スター
2k
フォーク
61
平均マージ
5日 18時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

teamtype/teamtype のほかの issue

teamtype/teamtype の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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