1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-05 09:10:00 +01:00

Merge pull request #278 from mhf-ir/v2.9

V2.9
This commit is contained in:
Anthony Scopatz 2020-01-25 16:15:07 -05:00 committed by GitHub
commit 60ec647642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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 ""

View File

@ -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="\""