mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 17:15:40 +01:00
commit
60ec647642
@ -4,7 +4,7 @@
|
|||||||
# Original author: John Boero
|
# Original author: John Boero
|
||||||
# License: GPLv3 or newer
|
# License: GPLv3 or newer
|
||||||
|
|
||||||
syntax hcl "\.(tf|hcl)$"
|
syntax "hcl" "\.(tf|hcl)$"
|
||||||
# No comments are permitted in JSON.
|
# No comments are permitted in JSON.
|
||||||
comment ""
|
comment ""
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
## Here is a prolog example.
|
## Here is a prolog example.
|
||||||
|
|
||||||
syntax prolog "\.pl"
|
syntax "prolog" "\.pl"
|
||||||
comment "%"
|
comment "%"
|
||||||
|
|
||||||
# Reset everything
|
# Reset everything
|
||||||
color normal ".*"
|
color white ".*"
|
||||||
|
|
||||||
# Integers and floats
|
# Integers and floats
|
||||||
color yellow "(^| |=)[0-9]+\.?[0-9]*"
|
color yellow "(^| |=)[0-9]+\.?[0-9]*"
|
||||||
@ -18,7 +18,7 @@ color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))"
|
|||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
color cyan "(^|[[:blank:]])\w+\("
|
color cyan "(^|[[:blank:]])\w+\("
|
||||||
color normal "\(|\)|\[|\]|,|=|\\="
|
color white "\(|\)|\[|\]|,|=|\\="
|
||||||
|
|
||||||
# Atoms
|
# Atoms
|
||||||
color green start="\"" end="\""
|
color green start="\"" end="\""
|
||||||
|
Loading…
Reference in New Issue
Block a user