dotfiles/nano/nanorc

1 line
2.5 KiB
Plaintext
Raw Permalink Normal View History

2022-05-08 02:08:30 -04:00
#set historylog set multibuffer #set smooth #set suspend set tabsize 2 #set boldtext #set matchbrackets #set mouse include "/usr/local/share/nano/go.nanorc" syntax "nanorc" "\.?nanorc$" color brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" color 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|view|whitespace|wordbounds)\>" color green "^[[:space:]]*(set|unset|include|syntax|header)\>" color yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>" color magenta "^[[:space:]]*i?color\>" "\<(start|end)=" color white ""(\\.|[^"])*"" color brightblue "^[[:space:]]*#.*$" color cyan "^[[:space:]]*##.*$" syntax "Java source" "\.java$" icolor green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>" icolor red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>" icolor cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>" icolor red ""[^\"]*"" icolor yellow "\<(true|false|null)\>" icolor blue "//.*" icolor blue start="/\*" end="\*/" icolor brightblue start="/\*\*" end="\*/" icolor brightgreen,green " +$" syntax "patch" "\.(patch|diff)$" icolor brightgreen "^\+.*" icolor green "^\+\+\+.*" icolor brightblue "^ .*" icolor brightred "^-.*" icolor red "^---.*" icolor brightyellow "^@@.*" icolor magenta "^diff.*" syntax "HTML" "\.html$" icolor blue start="<" end=">" icolor red "&[^; ]*;" syntax "HTML" "\.xml$" icolor blue start="<" end=">" icolor red "&[^; ]*;" ## Go Syntax Highlighting ## syntax "go" "\.go$" ## Types n stuff color green "\<((u)?int(8|16|32|64)?|float(32|64)|byte|string|interface|nil|bool|true|false)\>" color green "\<(package|import|const|var|type|struct|func)\>" color brightyellow "\<(for|range|if|else|case|default|switch)\>" color magenta "\<(continue|break|return)\>" ## Strings color brightyellow "".*"" color brightyellow "'.'" ## Comment highlighting color brightblue "//.*" color brightblue start="/\*" end="\*/" ## Trailing whitespace color ,green "[[:space:]]+$"