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

YAML treesitter indentation is buggy

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

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

まず kickstart.nvim の設定とリンクされている nvim-treesitter の issue を読み、次にレポートの YAML の例を Neovim v0.10.4 で再現します。YAML の Treesitter インデントがどこで設定されているかを特定します。Enter を押して "- " と入力しても不正なリストインデントが生成されなくなり、再現をもう一度確認できれば完了です。

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

説明

Before Reporting an Issue

  • I have read the kickstart.nvim README.md.

  • I have read the appropriate plugin's documentation.

  • I have searched that this issue has not been reported before.

  • By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.

Describe the bug

The YAML treesitter indentation has an annoying indentation bug. I think it might be helpful to disable treesitter indentation for YAML files until it's resolved.

Here are some relevant discussions about it:

actual issue to follow regarding this bug:

trail of issues that lead me here

To Reproduce

  1. Make the following YAML file:
hello:
  - a

world: {}
  1. Place the cursor at the | and enter insert mode:
hello:
  - a|

world: {}
  1. Hit "Enter":
hello:
  - a
    |

world: {}
  1. Type "- ":
hello:
  - a
- |

world: {}

Desktop

  • OS: Fedora Linux 41
  • Terminal: alacritty 0.15.1 with zellij 0.42.1

Neovim Version

NVIM v0.10.4
Build type: RelWithDebInfo
LuaJIT 2.1.1720049189
主要言語
Lua
スター
31.5k
フォーク
46.5k
平均マージ
8時間 13分
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

nvim-lua/kickstart.nvim のほかの issue

nvim-lua/kickstart.nvim の issue をすべて見る

似ている issue

Lua の issue をもっと見る

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

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