aboutsummaryrefslogtreecommitdiff
path: root/runtime/tutor/tutor.tutor
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.
* 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.
* vim-patch:9.1.1384: still some problem with the new tutors filetype pluginbrianhuster2025-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: still some problem with the new tutors filetype plugin Solution: refactor code to enable/disable tutor mode into tutor#EnableInteractive() function, include a test (Phạm Bình An) I find it annoying that Tutor's interactive mode is always on (or debug mode is off) even when I open a tutor file with :edit command. I think it makes more sense to make this "interactive mode": - Always on when it is opened with :Tutor command - Off otherwise For more references, see `:help` feature, it is a much better than :Tutor, since I don't have to run `:let g:help_debug = 1` just to be able to edit and save a help file Therefore, I remove `g:tutor_debug` closes: vim/vim#17299 https://github.com/vim/vim/commit/13bea589a25707c8f9e29b2920410bdcccd79bc5 Co-authored-by: Phạm Bình An <phambinhanctb2004@gmail.com>
* docs(tutor): clarify the meaning of ✗ and ✓ (#25204)zeertzjq2023-09-17
| | | Also reformat tutor.tutor.json to use 2-space indent while at it.
* docs: fix some remanining cases of gender pronoun for "the user"Björn Linse2021-05-18
| | | | | Adapted from original PR by: Co-Author: Mathias Jean Johansen <mathias@mjj.io>
* doc: fix typosBrian Wignall2019-11-27
| | | | close #11459
* tutor: update tutor-mode tutorialFelipe Morales2017-07-15
|
* tutor-mode: update pluginFelipe Morales2015-09-27
|
* runtime: Include vim-tutor-modeFelipe Morales2015-08-15
vim-tutor-mode provides a mechanism to write and read interactive tutorials in vim. It's aim is to replace the venerable vimtutor with a more modern system. The plugin's development is maintained at https://github.com/fmoralesc /vim-tutor-mode Closes #2351.