made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
31
gitportable/usr/share/nano/texinfo.nanorc
Normal file
31
gitportable/usr/share/nano/texinfo.nanorc
Normal file
@@ -0,0 +1,31 @@
|
||||
## Syntax highlighting for Texinfo files.
|
||||
|
||||
## Original author: Benno Schulenberg
|
||||
## License: GPL version 3 or newer
|
||||
|
||||
syntax texinfo "\.texi$"
|
||||
header "^\\input texinfo"
|
||||
magic "Texinfo source"
|
||||
comment "@c "
|
||||
|
||||
# How the manual gets listed in the directory node.
|
||||
color purple start="^@direntry" end="^@end direntry"
|
||||
|
||||
# Command arguments, trailing and enclosed.
|
||||
color cyan "^@[a-z]+[[:space:]]+.*"
|
||||
color lightmagenta "@([a-z]+|,|H|U)\{([^}]|@\}|@[a-z]+\{[^}]*\})*\}"
|
||||
# Commands themselves.
|
||||
color yellow "^@[a-z]+([[:space:]]|$)|@([a-z]+|,|H|U|AA|AE|DH|L|OE?|(La)?TeX|TH)\{|\}"
|
||||
color pink "@[!"'&*./:=?@\^`{}~-]"
|
||||
|
||||
# Special separator for headings and footings.
|
||||
color mint "@\|"
|
||||
|
||||
# Menu items.
|
||||
color brightred "^\*[[:space:]]+.*::.*"
|
||||
|
||||
# Comments.
|
||||
color green "@c(omment)?[[:space:]]+.*"
|
||||
|
||||
# Trailing whitespace.
|
||||
color ,green "[[:space:]]+$"
|
||||
Reference in New Issue
Block a user