]> git.madduck.net Git - etc/vim.git/blob - test/indent.vader

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Refactoring the fenced code block handling of folding
[etc/vim.git] / test / indent.vader
1 Given markdown;
2 * item1
3
4 Do (insert enter at list end):
5   A\<Enter>item2
6
7 Expect (auto insert * and indent level is same):
8   * item1
9   * item2
10
11 Given markdown;
12
13 Execute:
14   syntax off
15
16 Do (insert enter at list end with syntax off):
17   i* item1\<Enter>item2
18
19 Expect (auto insert * and indent level is same):
20   * item1
21   * item2
22
23 Execute:
24   syntax on
25
26 Given markdown;
27 ```
28 * item1
29
30 Do (insert after list items in code block):
31   jotext
32
33 Expect (no autoindent in code block):
34   ```
35   * item1
36   text