resolved syntax errors in hcl.nanorc and prolog.nanorc

This commit is contained in:
Ferdinand Keil 2019-12-21 15:25:18 +01:00
parent 02370c97e4
commit 21f8c19355
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="\""