From bcfc40077055ca345042366c5da6a1a1edff6e4e Mon Sep 17 00:00:00 2001 From: Zach Schneider Date: Sat, 20 May 2017 18:42:08 -0400 Subject: [PATCH] Fix matching of Express/Mocha keywords. --- syntax/CJSX.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/CJSX.sublime-syntax b/syntax/CJSX.sublime-syntax index a6bbfb5..6431086 100644 --- a/syntax/CJSX.sublime-syntax +++ b/syntax/CJSX.sublime-syntax @@ -131,7 +131,7 @@ contexts: 3: entity.name.function.coffee 4: variable.parameter.function.coffee 5: storage.type.function.coffee - - match: ^\s*(describe|it|app\.(get|post|put|all|del|delete)) + - match: ^\s*(describe|it|app\.(get|post|put|all|del|delete))[^\w] comment: Show well-known functions from Express and Mocha in Go To Symbol view push: - meta_scope: meta.function.symbols.coffee