Add `trait` and `instance` keyword highlights

4629f71dfbdcdf23164f2d332bf230038c919024
Alexis Sellier committed ago 1 parent 6f5b28c6
static/js/hirad.js +2 -1
9 9
    'fn', 'pub', 'if', 'else', 'for', 'while', 'break', 'switch', 'match',
10 10
    'record', 'union', 'const', 'align', 'let', 'use', 'mod', 'case',
11 11
    'continue', 'return', 'true', 'false', 'loop', 'extern', 'panic',
12 12
    'device', 'register', 'bit', 'catch', 'throw', 'throws', 'test',
13 13
    'at', 'mut', 'nil', 'undefined', 'static', 'in', 'is', 'where',
14 -
    'as', 'and', 'or', 'xor', 'not', 'try', 'atomic', 'select'
14 +
    'as', 'and', 'or', 'xor', 'not', 'try', 'atomic', 'select', 'trait',
15 +
    'instance'
15 16
];
16 17
const types = ['bool', 'u8', 'u16', 'u32', 'u64', 'i8', 'i16', 'i32', 'i64', 'f32', 'void', 'opaque'];
17 18
18 19
// Syntax definition.
19 20
//