From 6df71da81f9260890ac42ed992946543d697e57c Mon Sep 17 00:00:00 2001 From: "Jeremy A. Kolb" Date: Fri, 2 Nov 2018 09:59:07 -0400 Subject: Add some more DocCommentsOwner --- crates/ra_syntax/src/grammar.ron | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'crates/ra_syntax/src/grammar.ron') diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index 2ed165c52..1fa25dc4d 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron @@ -260,6 +260,7 @@ Grammar( "NameOwner", "TypeParamsOwner", "AttrsOwner", + "DocCommentsOwner" ], collections: [ ["fields", "NamedFieldDef"] @@ -270,10 +271,11 @@ Grammar( "NameOwner", "TypeParamsOwner", "AttrsOwner", + "DocCommentsOwner" ] ), - "TraitDef": ( traits: ["NameOwner", "AttrsOwner"] ), + "TraitDef": ( traits: ["NameOwner", "AttrsOwner", "DocCommentsOwner"] ), "Module": ( - traits: ["NameOwner", "AttrsOwner" ], + traits: ["NameOwner", "AttrsOwner", "DocCommentsOwner" ], options: [ "ItemList" ] ), "ItemList": ( @@ -283,16 +285,19 @@ Grammar( "NameOwner", "TypeParamsOwner", "AttrsOwner", + "DocCommentsOwner" ] ), "StaticDef": ( traits: [ "NameOwner", "TypeParamsOwner", "AttrsOwner", + "DocCommentsOwner" ] ), "TypeDef": ( traits: [ "NameOwner", "TypeParamsOwner", "AttrsOwner", + "DocCommentsOwner" ] ), "ImplItem": (), -- cgit v1.2.3