terminal: fall back when a cwd_provider result names no folder (E475 today)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
調査の方向性
terminal.lua の build_config から始め、cwd の処理を cwd.resolve と比較します。次に tests/integration/terminal_cwd_spec.lua と README のルールを読みます。provider の無効な結果の場合に、まず静的な cwd、次に git root にフォールバックするケースを追加し、README を更新します。統合テストが通り、文書化されたルールが動作と一致したら完了です。
索引モデルが issue の本文から書いたものです。
説明
The terminal fails with E475 when a cwd_provider result names no folder, instead of falling back like cwd.resolve does.
Defect. When a cwd_provider returns text that names no existing folder after vim.fn.expand, terminal.lua build_config passes it on, and the terminal fails with E475 ("expected valid directory"). cwd.resolve drops such a value and tries the static cwd, then the git root. Main behaves this way; #569 did not change it.
Reproduction. Set terminal = { cwd_provider = function() return "/no/such/folder" end } and open the terminal.
Planned fix. Make build_config fall through to the static cwd and then the git root, as cwd.resolve does. This changes behavior, so update the README rule and add cases to tests/integration/terminal_cwd_spec.lua.
Owner: the next change to terminal.lua's cwd handling. Deferred from the README verification run with the maintainer's agreement.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- 主要言語
- Lua
- スター
- 3.2k
- フォーク
- 223
- 平均マージ
- 7時間 18分
- マージ済み PR(30日)
- 234
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/claudecode.nvim のほかの issue
-
needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
coder/claudecode.nvim#595 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
coder/claudecode.nvim#588 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/claudecode.nvim#587 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
coder/claudecode.nvim#313 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
coder/claudecode.nvim#606 ·
メンテナーはふだん 1 日以内に返信
coder/claudecode.nvim の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
fw876/helloworld#2097 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
diivi/aseprite-mcp#43 ·
-
Tailoring guide bugオープンbug discord guide:tailoring locale:enUS triage v4.2.1
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
version-fox/vfox#825 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] KOReader plugin catalog uses popup corner rounding, leaking page content behind the cornersオープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bookorbit/bookorbit#2314 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信