summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2019-12-21 11:43:31 +0000
committerDaniel Shahaf <danielsh@apache.org>2019-12-22 03:20:58 +0000
commitfa7e3146fa9ab494d5e8d44b03a341f1afee5a7f (patch)
treee50403e21176187286e81383f8a702965cf109d6
parentf906ba9d37254ea391262781ca506ac912c378a9 (diff)
downloadzsh-fa7e3146fa9ab494d5e8d44b03a341f1afee5a7f.tar.gz
zsh-fa7e3146fa9ab494d5e8d44b03a341f1afee5a7f.tar.xz
zsh-fa7e3146fa9ab494d5e8d44b03a341f1afee5a7f.zip
45107: ztst.vim: Highlight some more special variables
-rw-r--r--ChangeLog2
-rw-r--r--Test/ztst.vim4
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e54ffbbc..f09c8ea5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2019-12-22  Daniel Shahaf  <danielsh@apache.org>
 
+	* 45107: Test/ztst.vim: Highlight some more special variables
+
 	* 45108: Test/ztst.vim: Conceal the '>' or '?' on pattern
 	expected output / expected errput lines.
 
diff --git a/Test/ztst.vim b/Test/ztst.vim
index 842564de2..8d8becfe7 100644
--- a/Test/ztst.vim
+++ b/Test/ztst.vim
@@ -54,7 +54,9 @@ syn match  ztstDirective           /^%.*/
 
 syn match  ztstComment             /^#.*/
 
-syn keyword ztstSpecialVariable ZTST_unimplemented ZTST_skip ZTST_testdir containedin=@zsh 
+" Highlight those variables which are /de jure/ or /de facto/ APIs of the test
+" harness to the test files.
+syn keyword ztstSpecialVariable ZTST_unimplemented ZTST_skip ZTST_testdir ZTST_fd ZTST_srcdir containedin=@zsh 
 
 "" Highlight groups:
 hi def link ztstExitCode                  Number