1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-23 17:15:40 +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 # 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 ""

View File

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