Files
neovim/runtime/tutor/ja/vim-01-beginner.tutor.json
Phạm Bình An db1542af3d fix(tutor): use legacy syntax for lesson 3.1 #34996
Problem:
- Extmark breaks lesson 3.1 of vim-01-beginner.tutor because when users
  delete the line and put it elsewhere, the extmark doesn't move to the
  put location.
- This doesn't mean the extmark implementation is bad though (note that
  thanks to extmark, for the first time, we can make lesson 2.6 really
  interactive), it's just that the tutor format has never been made for
  kinds of lessons like lesson 3.1, which is why all "expected" in that
  lesson are -1, which also means that lesson is not interactive in the
  first place. Also see lesson 2.1.3 in vim-02-beginner, where the mark
  is just used to mark the first line of the exercise, which also prove
  my point.

Solution:
- For a not-really-interactive lesson like lesson 3.1, just use legacy
  syntax. I borrow the old vimtutor's `--->` to mark the exercises of
  the lesson.
- Less redundant interactive marks also make the json files smaller and
  more maintainable.
2025-07-19 08:31:37 -07:00

41 lines
2.0 KiB
JSON

{
"expect": {
"104": "その うさぎ は つき を こえて とびはねた",
"126": "この 行 には 幾つか 足りない テキスト が ある。",
"127": "この 行 には 幾つか 足りない テキスト が ある。",
"145": "この 行 には 間違った テキスト が あります。",
"146": "この 行 には 間違った テキスト が あります。",
"147": "ここ にも 間違った テキスト が あります。",
"148": "ここ にも 間違った テキスト が あります。",
"217": "この 文 には いくつかの 必要のない 単語 が 含まれて います。",
"233": "誰かがこの行の最後を2度タイプしました。",
"272": -1,
"291": "この行の単語は綺麗になった。",
"308": "1) 薔薇は赤く",
"309": "",
"310": "3) 菫は青く",
"311": "",
"312": "",
"313": "6) 砂糖は甘く",
"314": "7) そして貴方も",
"335": "この行の間違いを修正し、後でそれらの修正を取り消します。",
"400": "この行を入力した時に、その人は幾つか間違ったキーを押しました!",
"401": "この行を入力した時に、その人は幾つか間違ったキーを押しました!",
"421": "This line has a few words that need changing using the change operator.",
"422": "This line has a few words that need changing using the change operator.",
"442": "The end of this line needs to be corrected using the c$ command.",
"443": "The end of this line needs to be corrected using the c$ command.",
"505": -1,
"524": -1,
"548": "Usually the best time to see the flowers is in the spring.",
"737": -1,
"742": -1,
"758": "This line will allow you to practice appending text to a line.",
"759": "This line will allow you to practice appending text to a line.",
"776": "Adding 123 to 456 gives you 579.",
"777": "Adding 123 to 456 gives you 579.",
"802": "a) This is the first item.",
"803": "b) This is the second item."
}
}