From 85f1106c24a7c6cee2a42610713d6d04486ee4eb Mon Sep 17 00:00:00 2001 From: mcnesium Date: Mon, 18 Jun 2018 13:40:34 +0200 Subject: [PATCH 1/3] Bright red possible errors --- nanorc.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanorc.nanorc b/nanorc.nanorc index db87f2c..862a81b 100644 --- a/nanorc.nanorc +++ b/nanorc.nanorc @@ -2,7 +2,7 @@ ## syntax "Nanorc" "\.?nanorc$" ## Possible errors and parameters -icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" +icolor brightred "^[[:space:]]*((un)?set|include|syntax|i?color).*$" ## Keywords icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>" icolor green "^[[:space:]]*(set|unset|include|syntax|header)\>" From 22d746ece8014668bb55a105db416855f7c8ba09 Mon Sep 17 00:00:00 2001 From: Adrien Pyke Date: Fri, 22 Jun 2018 14:10:04 -0400 Subject: [PATCH 2/3] include some missing nanorc options --- nanorc.nanorc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nanorc.nanorc b/nanorc.nanorc index 862a81b..34aece1 100644 --- a/nanorc.nanorc +++ b/nanorc.nanorc @@ -4,8 +4,8 @@ syntax "Nanorc" "\.?nanorc$" ## Possible errors and parameters icolor brightred "^[[:space:]]*((un)?set|include|syntax|i?color).*$" ## Keywords -icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|speller|suspend|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>" -icolor green "^[[:space:]]*(set|unset|include|syntax|header)\>" +icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>" +icolor green "^[[:space:]]*(bind|set|unset|syntax|header|include|magic)\>" ## Colors icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>" icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)=" From 1d7e358a76e92bdb64882f64ab9d536f9532dc2c Mon Sep 17 00:00:00 2001 From: Barbz Date: Tue, 3 Jul 2018 21:32:35 +0200 Subject: [PATCH 3/3] YAML comments are now grey/brightblue White was too shiny --- yaml.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml.nanorc b/yaml.nanorc index b51b70e..b079c72 100644 --- a/yaml.nanorc +++ b/yaml.nanorc @@ -18,4 +18,4 @@ color brightwhite "^\s+-" color brightwhite ":(\s|\t|$)" # Comments -color white "(^|[[:space:]])#.*$" +color brightblue "(^|[[:space:]])#.*$"