36 (r'//(.*?)\n', Comment.Single), |
36 (r'//(.*?)\n', Comment.Single), |
37 (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline), |
37 (r'/(\\\n)?[*](.|\n)*?[*](\\\n)?/', Comment.Multiline), |
38 |
38 |
39 (r'(config|const|in|inout|out|param|ref|type|var)\b', |
39 (r'(config|const|in|inout|out|param|ref|type|var)\b', |
40 Keyword.Declaration), |
40 Keyword.Declaration), |
41 (r'(false|nil|true)\b', Keyword.Constant), |
41 (r'(false|nil|none|true)\b', Keyword.Constant), |
42 (r'(bool|complex|imag|int|opaque|range|real|string|uint)\b', |
42 (r'(bool|bytes|complex|imag|int|nothing|opaque|range|real|string|uint|void)\b', |
43 Keyword.Type), |
43 Keyword.Type), |
44 (words(( |
44 (words(( |
45 'align', 'as', 'atomic', |
45 'align', 'as', 'atomic', |
46 'begin', 'borrowed', 'break', 'by', |
46 'begin', 'borrowed', 'break', 'by', |
47 'catch', 'cobegin', 'coforall', 'continue', |
47 'catch', 'cobegin', 'coforall', 'continue', |
48 'delete', 'dmapped', 'do', 'domain', |
48 'defer', 'delete', 'dmapped', 'do', 'domain', |
49 'else', 'enum', 'except', 'export', 'extern', |
49 'else', 'enum', 'except', 'export', 'extern', |
50 'for', 'forall', |
50 'for', 'forall', 'forwarding', |
51 'if', 'index', 'inline', |
51 'if', 'index', 'init', 'inline', |
52 'label', 'lambda', 'let', 'local', |
52 'label', 'lambda', 'let', 'lifetime', 'local', 'locale' |
53 'new', 'noinit', |
53 'new', 'noinit', |
54 'on', 'only', 'otherwise', 'override', 'owned', |
54 'on', 'only', 'otherwise', 'override', 'owned', |
55 'pragma', 'private', 'prototype', 'public', |
55 'pragma', 'private', 'prototype', 'public', |
56 'reduce', 'require', 'return', |
56 'reduce', 'require', 'return', |
57 'scan', 'select', 'serial', 'shared', 'single', 'sparse', 'subdomain', 'sync', |
57 'scan', 'select', 'serial', 'shared', 'single', 'sparse', 'subdomain', 'sync', |
58 'then', 'throw', 'throws', 'try', |
58 'then', 'this', 'throw', 'throws', 'try', |
59 'unmanaged', 'use', |
59 'unmanaged', 'use', |
60 'when', 'where', 'while', 'with', |
60 'when', 'where', 'while', 'with', |
61 'yield', |
61 'yield', |
62 'zip'), suffix=r'\b'), |
62 'zip'), suffix=r'\b'), |
63 Keyword), |
63 Keyword), |