portable-devtools / git /usr /share /nano /autoconf.nanorc
codekingpro's picture
Add files using upload-large-folder tool
5b8d59b verified
Raw
History Blame Contribute Delete
649 Bytes
## Syntax highlighting for Autoconf.
## Original author: Benno Schulenberg
## License: GPL version 3 or newer
syntax autoconf "\.(ac|m4)$"
comment "#"
# Keywords:
color yellow "\<(if|test|then|elif|else|fi|case|esac|ifelse|for|in|do|done)\>"
color yellow "=|!=|&&|\|\|"
# Macros:
color cyan "\<[[:upper:][:digit:]_]+\>"
# Version numbers:
color red "\<[-_.0-9]+\>"
# Strings:
color red ""[^"]*"|'[^']*'"
# Backticks:
color green "`[^`]*`"
# Error lines:
color brightred "^[[:blank:]]*\*\*\*.*"
# Brackets:
color magenta "\[|\]|\(|\)"
# Comments:
color blue "^[[:blank:]]*#.*|\<dnl.*"
# Trailing whitespace:
color ,green "[[:space:]]+$"