:RustFmt outputs formatted text to pager instead of formatting it in buffer

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
tooling

調査の方向性

Start by locating the :RustFmt command and tracing how it invokes rustfmt and handles its output in Neovim. The report gives no file or test names, so first find the command implementation and related tests. Done means :RustFmt formats the current buffer instead of opening the formatted text in a pager.

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

説明

rust.vim version:
c06a17151c69b9d61e60a28274932a28fd37c453

Steps to reproduce:

  1. Open any Rust file
  2. Enter :RustFmt<CR>

Expected vs. actual behavior:

  • Expected: file is formatted
  • Actual: formatted file is shown in separate pager without highlighting

Paste debugging info from the Rust Vim plugin via one of the following
commands: :RustInfo, :RustInfoToClipboard, or :RustInfoToFile <filename>.

None of this commands exist.

I use NeoVim v0.6.0-dev and rustfmt 1.4.37-nightly (f586d79 2021-06-13)

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

環境構築

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

はじめの一歩

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

rust-lang/rust.vim のほかの issue

rust-lang/rust.vim の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

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

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