fish.nanorc 917 B

123456789101112131415
  1. ## Here is an example for Fish shell scripts.
  2. ##
  3. syntax "fish" "\.fish$"
  4. icolor brightgreen "^[0-9A-Z_]+\(\)"
  5. color green "\<(alias|begin|break|case|continue|contains|else|end|for|function|if|math|return|set|switch|test|while)\>"
  6. color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
  7. color green "\<(and|isatty|not|or|in)\>"
  8. color yellow "--[a-z-]+"
  9. color brightmagenta "\ -[a-z]+"
  10. color brightblue "\<(bg|bind|block|breakpoint|builtin|cd|command|commandline|complete|dirh|dirs|echo|emit|eval|exec|exit|fg|fish|fish_config|fish_ident|fish_pager|fish_prompt|fish_right_prompt|fish_update_completions|fishd|funced|funcsave|functions|help|history|jobs|mimedb|nextd|open|popd|prevd|psub|pushd|pwd|random|read|set_color|status|trap|type|ulimit|umask|vared)\>"
  11. icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
  12. color cyan "(^|[[:space:]])#.*$"
  13. color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
  14. color ,green "[[:space:]]+$"