mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 13:40:07 +02:00
44 lines
1001 B
Sed
Executable File
44 lines
1001 B
Sed
Executable File
#!/usr/bin/sed -f
|
|
|
|
# ORIGINAL
|
|
## Best approach to the original 'nanorc' files.
|
|
## If you want the original, uninstall these files,
|
|
## but you will lose many highlight instructions...
|
|
|
|
# GUI Colors
|
|
## No GUI colors in original ...
|
|
|
|
# Text Colors
|
|
## Strings and Comments:
|
|
## In general you will want your strings and comments to come last,
|
|
## because highlighting rules are applied in the order they are read in.
|
|
## The words should be in singular.
|
|
## BTICKS = backtick
|
|
## TSPACE = trailing whitespace
|
|
## VERSION = version numbers
|
|
## REMINDERS = fixme, todo, xxx
|
|
|
|
s|CONSTANT|brightred|
|
|
s|FUNCTION|brightmagenta|
|
|
s|KEYWORD1|brightgreen|
|
|
s|KEYWORD2|green|
|
|
s|DIRECTIVE|brightcyan|
|
|
s|STRING1|red|
|
|
s|STRING2|magenta|
|
|
s|COMMENT1|brightblue|
|
|
s|COMMENT2|cyan|
|
|
s|COLOR|yellow|
|
|
s|MACRO|cyan|
|
|
s|ERROR|brightred|
|
|
s|OPERATORS|green|
|
|
s|BOOLEAN|brightmagenta|
|
|
s|BRACKET|magenta|
|
|
s|BTICKS|green|
|
|
s|TSPACE|,green|
|
|
s|VERSION|red|
|
|
s|REMINDERS|brightwhite,yellow|
|
|
s|EMAIL|magenta|
|
|
|
|
# Macros
|
|
## No Macros in original ...
|