PATH:
usr
/
share
/
nano
## Syntax highlighting for JSON files. ## Original author: Aapo Rantalainen ## License: GPL version 3 or newer syntax json "\.json$" # No comments are permitted in JSON. comment "" # Numbers (used as value). color green ":[[:space:]]*\-?(0|[1-9][0-9]*)(\.[0-9]+)?([Ee]?[-+]?[0-9]+)?" # Values (well, any string). color brightmagenta "".+"" # Hex numbers (used as value). color green ":[[:space:]]*"#[0-9abcdefABCDEF]+"" # Escapes. color green "\\\\" "\\"" "\\[bfnrt]" "\\u[0-9abcdefABCDEF]{4})" # Special words. color green "\<(true|false|null)\>" # Names (very unlikely to contain a quote). color brightblue ""[^"]+"[[:space:]]*:" # Brackets, braces, and separators. color brightblue "\[" "\]" color brightred "\{" "\}" color brightred "," ":" # Comments. color cyan "(^|[[:space:]]+)(//|#).*" # Trailing whitespace. color ,green "[[:space:]]+$"
[-] markdown.nanorc
[edit]
[-] texinfo.nanorc
[edit]
[-] email.nanorc
[edit]
[-] autoconf.nanorc
[edit]
[-] haskell.nanorc
[edit]
[-] cmake.nanorc
[edit]
[-] java.nanorc
[edit]
[-] perl.nanorc
[edit]
[-] changelog.nanorc
[edit]
[-] groff.nanorc
[edit]
[-] spec.nanorc
[edit]
[-] patch.nanorc
[edit]
[-] go.nanorc
[edit]
[-] css.nanorc
[edit]
[-] nanohelp.nanorc
[edit]
[-] default.nanorc
[edit]
[-] makefile.nanorc
[edit]
[-] rust.nanorc
[edit]
[-] fortran.nanorc
[edit]
[-] xml.nanorc
[edit]
[-] nanorc.nanorc
[edit]
[-] gentoo.nanorc
[edit]
[-] nftables.nanorc
[edit]
[-] elisp.nanorc
[edit]
[-] c.nanorc
[edit]
[-] sh.nanorc
[edit]
[-] sql.nanorc
[edit]
[-] objc.nanorc
[edit]
[-] ruby.nanorc
[edit]
[-] javascript.nanorc
[edit]
[-] ada.nanorc
[edit]
[-] debian.nanorc
[edit]
[-] lua.nanorc
[edit]
[+]
..
[-] po.nanorc
[edit]
[-] json.nanorc
[edit]
[-] povray.nanorc
[edit]
[-] tex.nanorc
[edit]
[-] tcl.nanorc
[edit]
[-] html.nanorc
[edit]
[-] php.nanorc
[edit]
[-] guile.nanorc
[edit]
[-] man.nanorc
[edit]
[-] python.nanorc
[edit]
[-] awk.nanorc
[edit]
[-] ocaml.nanorc
[edit]
[-] asm.nanorc
[edit]