diff runtime/syntax/typescript.vim @ 17036:235cbf491430

Update runtime files commit https://github.com/vim/vim/commit/12ee7ff00b91d852e060bb24951d1c94239863eb Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 10 22:47:40 2019 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Jun 2019 23:00:08 +0200
parents e18b1c654d09
children cb3163d590a1
line wrap: on
line diff
--- a/runtime/syntax/typescript.vim
+++ b/runtime/syntax/typescript.vim
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language:     TypeScript
 " Maintainer:   Bram Moolenaar
-" Last Change:	2019 Jun 06
+" Last Change:	2019 Jun 07
 " Based On:     Herrington Darkholme's yats.vim
 " Changes:      See https:github.com/HerringtonDarkholme/yats.vim
 " Credits:      See yats.vim
@@ -791,6 +791,12 @@ if get(g:, 'yats_host_keyword', 1)
   syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval
   hi def link typescriptNodeGlobal Structure
 
+  syntax keyword typescriptGlobal containedin=typescriptIdentifierName describe it test
+  syntax keyword typescriptGlobal containedin=typescriptIdentifierName before after
+  syntax keyword typescriptGlobal containedin=typescriptIdentifierName beforeEach afterEach
+  syntax keyword typescriptGlobal containedin=typescriptIdentifierName beforeAll afterAll
+  syntax keyword typescriptGlobal containedin=typescriptIdentifierName expect assert
+
   "runtime syntax/yats/web.vim
   syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController
   syntax keyword typescriptBOM containedin=typescriptIdentifierName AbstractWorker AnalyserNode