mirror of
https://github.com/scopatz/nanorc
synced 2024-11-24 11:20:26 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
0c5f391b8e
|
@ -4,8 +4,8 @@ syntax "Nanorc" "\.?nanorc$"
|
||||||
## Possible errors and parameters
|
## Possible errors and parameters
|
||||||
icolor brightred "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
|
icolor brightred "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
|
||||||
## Keywords
|
## 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 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:]]*(set|unset|include|syntax|header)\>"
|
icolor green "^[[:space:]]*(bind|set|unset|syntax|header|include|magic)\>"
|
||||||
## Colors
|
## 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 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)="
|
icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
|
||||||
|
|
|
@ -18,4 +18,4 @@ color brightwhite "^\s+-"
|
||||||
color brightwhite ":(\s|\t|$)"
|
color brightwhite ":(\s|\t|$)"
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
color white "(^|[[:space:]])#.*$"
|
color brightblue "(^|[[:space:]])#.*$"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user