From f60c1dd4a4d9f87a2e63c478b626400a5b7b3bc2 Mon Sep 17 00:00:00 2001 From: Christoffer Lerno Date: Sun, 18 Jul 2021 14:13:21 +0200 Subject: [PATCH] Fixes to the nano conf for errors. --- resources/editor_plugins/nano/c3.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/editor_plugins/nano/c3.nanorc b/resources/editor_plugins/nano/c3.nanorc index f8f57722b..7d1fe6689 100644 --- a/resources/editor_plugins/nano/c3.nanorc +++ b/resources/editor_plugins/nano/c3.nanorc @@ -15,10 +15,10 @@ color magenta "\<[A-Za-z_]+\>\(" color normal "\(|\)" # Types -color green "\<(virtual|void|bool|quad|double|float|long|ulong|int|uint|short|ushort|ichar|char|isize|usize|iptr|uptr|iptrdiff|uptrdiff|half)\>" +color green "\<(virtual|anyerr|void|bool|quad|double|float|long|ulong|int|uint|short|ushort|ichar|char|isize|usize|iptr|uptr|iptrdiff|uptrdiff|half)\>" # Keywords -color yellow "\<(alias|as|asm|assert|attribute|break|case|catch|const|continue|default|defer|define|do|else|enum|extern|error|false|for|foreach|func|generic|if|import|interface|macro|module|nextcase|null|private|return|static|struct|switch|true|try|typeid|typeof|union|while|var|volatile|yield)\>" +color yellow "\<(alias|as|asm|assert|attribute|break|case|catch|const|continue|default|defer|define|do|else|enum|extern|errtype|false|for|foreach|func|generic|if|import|interface|macro|module|nextcase|null|private|return|static|struct|switch|true|try|typeid|typeof|union|while|var|volatile|yield)\>" # $ Statements color brightyellow "\$\<(assert|case|default|elif|else|endif|endswitch|for|if|switch|unreachable)\>"