mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
set autoindent
|
|
set const
|
|
set historylog
|
|
set nowrap
|
|
set smooth
|
|
set regexp
|
|
set fill 72
|
|
#set multibuffer
|
|
set suspend
|
|
|
|
# Generic conf/rc/sh file syntax highlighting
|
|
#############################################
|
|
syntax "conf/rc/sh" "conf$|rc$|sh$"
|
|
color white ".+"
|
|
color green "^#.*"
|
|
|
|
# .nanorc syntax highlighting
|
|
#############################
|
|
syntax "nanorc" "[\.]*nanorc$"
|
|
color white "^ *(set|unset).*$"
|
|
color cyan "^ *(set|unset) (autoindent|backup|const|cut|fill|keypad|multibuffer|noconvert|nofollow|nohelp|nowrap|operatingdir|preserve|quotestr|regexp|smooth|speller|suspend|tabsize|tempfile|historylog|view)"
|
|
color brightwhite "^ *syntax [^ ]*"
|
|
color brightblue "^ *set\>" "^ *unset\>" "^ *syntax\>"
|
|
color white "^ *color\>.*"
|
|
color yellow "^ *color (bright)?(black|blue|cyan|green|magenta|red|white|yellow)\>"
|
|
color magenta "^ *color\>"
|
|
color green "^#.*$"
|
|
|
|
# grub.conf syntax highlighting
|
|
###############################
|
|
syntax "grub.conf" "grub\.conf"
|
|
color cyan "(^default.+|^timeout.+)"
|
|
color red "^title.+"
|
|
color yellow "(initrd.+|kernel.+|root.+)"
|
|
color green "^#.*"
|