From a4e96b8820c2120699c952b6dd4481c9e8d5d8d8 Mon Sep 17 00:00:00 2001 From: Scott Hoyt Date: Mon, 25 Jan 2016 13:09:32 -0800 Subject: [PATCH] Updated README --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9dcb93fc2e..2982ecd417 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,27 @@ This is what the output would look like: ![](custom-rule.png) -You can define as many `custom_rules` +By default, custom rules will match against all syntax kinds. You can filter +the matches by providing one or more `match_kinds`: + +* argument +* attribute.builtin +* attribute.id +* buildconfig.id +* buildconfig.keyword +* comment +* comment.mark +* comment.url +* doccomment +* doccomment.field +* identifier +* keyword +* number +* objectliteral +* parameter +* placeholder +* string_interpolation_anchor +* typeidentifier #### Nested Configurations