From 961c173f0ffd428a831327933a72084bdb1355ec Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Thu, 6 Jul 2017 17:18:47 +0100 Subject: [PATCH] elm_code: Fix rust syntax to include types --- src/lib/elementary/elm_code_syntax.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_code_syntax.c b/src/lib/elementary/elm_code_syntax.c index 27b460b..e400b51 100644 --- a/src/lib/elementary/elm_code_syntax.c +++ b/src/lib/elementary/elm_code_syntax.c @@ -38,7 +38,8 @@ static Elm_Code_Syntax _elm_code_syntax_rust = NULL, {"as", "break", "const", "continue", "create", "else", "enum", "extern", "false", "fn", "for", "if", \ "impl", "in", "let", "loop", "match", "mod", "move", "mut", "pub", "ref", "return", "Self", "self", \ - "static", "struct", "super", "trait", "true", "type", "unsafe", "use", "where", "while", NULL} + "static", "struct", "super", "trait", "true", "type", "unsafe", "use", "where", "while", + "bool", "i8", "i16", "i32", "i64", "isize", "u8", "u16", "u32", "u64", "usize", "f32", "f64", "char", NULL} }; static Elm_Code_Syntax _elm_code_syntax_py = -- 2.7.4