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
|
||||
# License: GPLv3 or newer
|
||||
|
||||
syntax hcl "\.(tf|hcl)$"
|
||||
syntax "hcl" "\.(tf|hcl)$"
|
||||
# No comments are permitted in JSON.
|
||||
comment ""
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
## Here is a prolog example.
|
||||
|
||||
syntax prolog "\.pl"
|
||||
syntax "prolog" "\.pl"
|
||||
comment "%"
|
||||
|
||||
# Reset everything
|
||||
color normal ".*"
|
||||
color white ".*"
|
||||
|
||||
# Integers and floats
|
||||
color yellow "(^| |=)[0-9]+\.?[0-9]*"
|
||||
@ -18,7 +18,7 @@ color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))"
|
||||
|
||||
# Functions
|
||||
color cyan "(^|[[:blank:]])\w+\("
|
||||
color normal "\(|\)|\[|\]|,|=|\\="
|
||||
color white "\(|\)|\[|\]|,|=|\\="
|
||||
|
||||
# Atoms
|
||||
color green start="\"" end="\""
|
||||
|
Loading…
Reference in New Issue
Block a user