diff options
author | Eduardo Rittner Coelho <116819854+eduardorittner@users.noreply.github.com> | 2024-08-16 17:35:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 10:35:13 -0700 |
commit | 8b8096500d08d771a936d8ceca25ef5716c3874f (patch) | |
tree | 4e32c5037bcdedf49bc1a71a39789f05301e83ea | |
parent | a901fb875f69ff4e3033f883d5b8665eb608a586 (diff) | |
download | rneovim-8b8096500d08d771a936d8ceca25ef5716c3874f.tar.gz rneovim-8b8096500d08d771a936d8ceca25ef5716c3874f.tar.bz2 rneovim-8b8096500d08d771a936d8ceca25ef5716c3874f.zip |
fix(tutor): incorrect lines marked as correct #29833
Problem: In line 308 the poem appears as
✅1) Roses are red,
✅2) Mud is fun,
✅3) Violets are blue,
✅4) I have a car,
✅5) Clocks tell time,
✅6) Sugar is sweet
✅7) And so are you.
where the wrong lines (2, 4, 5) are all marked as correct.
Solution: Change the tutor.json file so that initially the poem appears
as
✅1) Roses are red,
❌2) Mud is fun,
✅3) Violets are blue,
❌4) I have a car,
❌5) Clocks tell time,
❌6) Sugar is sweet
✅7) And so are you.
The method for checking whether a line is correct or not is really
simple, so I couldn't find a way to display the 6th line as initially
correct, however upon deleting lines 2, 4 and 5 the final result shows
line 6 as correct.
-rw-r--r-- | runtime/tutor/en/vim-01-beginner.tutor.json | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/tutor/en/vim-01-beginner.tutor.json b/runtime/tutor/en/vim-01-beginner.tutor.json index 8f88a3897d..835f0f6782 100644 --- a/runtime/tutor/en/vim-01-beginner.tutor.json +++ b/runtime/tutor/en/vim-01-beginner.tutor.json @@ -11,13 +11,13 @@ "232": "Somebody typed the end of this line twice.", "271": -1, "290": "This line of words is cleaned up.", - "307": -1, - "308": -1, - "309": -1, - "310": -1, - "311": -1, - "312": -1, - "313": -1, + "307": "1) Roses are red,", + "308": "3) Violets are blue,", + "309": "6) Sugar is sweet", + "310": "7) And so are you.", + "311": "7) And so are you.", + "312": "7) And so are you.", + "313": "7) And so are you.", "333": "Fix the errors on this line and replace them with undo.", "379": -1, "380": -1, |