From a31cb829ed763f9dd1fcf422469eedd3402e5fbc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 31 Jul 2018 23:59:54 +0300 Subject: Print numbers --- src/yellow/syntax.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yellow/syntax.rs') diff --git a/src/yellow/syntax.rs b/src/yellow/syntax.rs index 487a4ef1d..5b88a3b07 100644 --- a/src/yellow/syntax.rs +++ b/src/yellow/syntax.rs @@ -132,7 +132,7 @@ impl fmt::Debug for SyntaxNode { fn has_short_text(kind: SyntaxKind) -> bool { match kind { - IDENT | LIFETIME => true, + IDENT | LIFETIME | INT_NUMBER | FLOAT_NUMBER => true, _ => false, } } -- cgit v1.2.3