瀏覽代碼

docs: Document use of NONE in expected_region_highlight

pull/298/head
Matthew Martin 8 年之前
父節點
當前提交
13018f3dd7
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      tests/README.md

+ 2
- 0
tests/README.md 查看文件

@ -12,6 +12,8 @@ The value of that parameter is a list of strings of the form `"$i $j $style"`.
or `"$i $j $style $todo"`.
Each string specifies the highlighting that `$BUFFER[$i,$j]` should have;
that is, `$i` and `$j` specify a range, 1-indexed, inclusive of both endpoints.
`$style` is either a key of `$ZSH_HIGHLIGHT_STYLES` or `NONE` to specify no
highlighting should be observed.
If `$todo` exists, the test point is marked as TODO (the failure of that test
point will not fail the test), and `$todo` is used as the explanation.

Loading…
取消
儲存