aboutsummaryrefslogtreecommitdiff
path: root/runtime/tutor/ja
Commit message (Collapse)AuthorAge
* refactor(tutor): use inline comments instead of json file #39714Nathan Zeng2026-05-13
| | | | | | | | | | Problem: Expected text for interactive marks is in a separate json file from the tutor file. When the tutor file is updated, line numbers (potentially many) have to be updated in the json file. This is a burden for maintenance and automatic testing. Solution: Put the expected text inline in the tutor file, marked with `[[]]`. Parse and remove the comments before opening the tutor file so extmarks can be applied.
* docs: misc (#37280)zeertzjq2026-01-07
| | | | | | | | | | | | | | | | | | | | Close #36806 Close #36812 Close #37003 Close #37016 Close #37038 Close #37039 Close #37157 Close #37185 Close #37213 Co-authored-by: saroj_r <sarojregmi.official@gmail.com> Co-authored-by: Olivia Kinnear <git@superatomic.dev> Co-authored-by: Igor <igorlfs@ufmg.br> Co-authored-by: Justin Roberts <JustinEdwardLeo@gmail.com> Co-authored-by: "Mike J. McGuirk" <mike.j.mcguirk@gmail.com> Co-authored-by: Aymen Hafeez <49293546+aymenhafeez@users.noreply.github.com> Co-authored-by: Peter Cardenas <16930781+PeterCardenas@users.noreply.github.com> Co-authored-by: DrNayak2306 <dhruvgnk.work@gmail.com>
* revert: "fix(tutor): remove hyperlinks, simplify non-interactive examples" ↵Justin M. Keyes2025-11-19
| | | | | #36622 This reverts commit 5e039c8e9775651bc24cf8a669d33217b24bd59e.
* fix(tutor): remove hyperlinks, simplify non-interactive examples #36307Eduardo Cruz Guedes2025-10-27
| | | | | | 1. Every hyperlink-like element was replaced by `"$1"` (where $1 is the original string showed in the hyperlink); 2. Arrows `--->` were used in lines containing practice examples when no editing text is involved; 3. Context on interactivity was minimally adapted when strictly needed, not to disrupt the original tutor's intent; 4. Tests regarding the tutor file refactored to ensure the new syntax is not flagged as an error.
* docs(tutor): update Japanese tutor #35379ite-usagi2025-08-18
|
* fix(tutor): use legacy syntax for lesson 3.1 #34996Phạm Bình An2025-07-19
| | | | | | | | | | | | | | | | | | | | | 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.
* refactor(tutor): reimplement interactive marks as extmark in Luabrianhuster2025-07-18
| | | | | | | | | | | | | | | | | | | Problem: From https://matrix.to/#/!cylwlNXSwagQmZSkzs:matrix.org/$Ofj-TFIsEMbp0O9OhE8xuZSNi-nhRLtZTOgs6JRLNrs?via=matrix.org&via=gitter.im&via=mozilla.org In lesson 2.6, users are asked to remove the second, forth and fifth lines with `dd` command, then they are asked to undo twice to make the text go back to original state. But after that, the mark ✗ appears again, which confuses the user because they think they do something wrong. This is a limitation with the current implementation, which is based on line number only. Solution: Reimplement interactive marks as extmarks in Lua. This also make the feature less fragile, as users can remove, add some arbitrary lines without breaking the interactive marks. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* docs(tutor): move lesson 7.2 below lesson 7.3 #33662Phạm Bình An2025-05-21
| | | | | | | | | | | | | | | | Problem: - Lesson 7.3 (Cmdline Completion) teaches an important way to discover Nvim features. I think users should learn it before they start configuring Nvim - Nvim can be configured in Lua as well, but lesson 7.2 (Configuring Nvim) only mentions init.vim. And I think Nvim is promoting Lua more Solution: - Move lesson 7.2 to be after lesson 7.3 - Lesson 7.2 should teach about init.lua Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* vim-patch:829eda7: runtime(new-tutor): update tutor and correct comandline ↵Phạm Bình An2025-04-15
| | | | | | | | | | | | | completion (#33449) Problem: Some parts of the tutor are outdated. - For example, pressing `<Tab>` after typing `:e` does not complete the command `:edit`, but shows a completion menu with the first entry being `:earlier`. closes: vim/vim#17107 https://github.com/vim/vim/commit/829eda7d381e5f635169c927103568b335cd599d
* fix(l10n): update Japanese translations (#27856)ite-usagi2024-03-16
|
* docs(tutor): include https urls where applicable (#27461)Marcus Michaels2024-02-16
| | | | Problem: URLs in :Tutor use "http" instead of "https". Solution: Update URLs with a valid "https" equivalent.
* feat(tutor): add Japanese tutor #27268ite-usagi2024-02-08
Add Japanese Tutor