mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 13:40:07 +02:00
Delete prolog.nanorc
This commit is contained in:
parent
f2ad8855cf
commit
93ea50479d
@ -1,35 +0,0 @@
|
|||||||
## Here is a prolog example.
|
|
||||||
|
|
||||||
syntax "prolog" "\.(pl|b|f|n)" # to add support also for aleph .b, .f and .n file extensions.
|
|
||||||
comment "%"
|
|
||||||
|
|
||||||
# Reset everything
|
|
||||||
color normal ".*"
|
|
||||||
|
|
||||||
# Integers and floats
|
|
||||||
color yellow "(^| |=)[0-9]+\.?[0-9]*"
|
|
||||||
|
|
||||||
# Variables
|
|
||||||
color red "(^|[[:blank:]]|\(|,)[A-Z]+"
|
|
||||||
color red "(^|[[:blank:]]|\(|,)_[0-9a-zA-Z_]+($|[[:blank:]]|,|\))"
|
|
||||||
|
|
||||||
# Anonymous variable '_'
|
|
||||||
color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))"
|
|
||||||
|
|
||||||
# Functions
|
|
||||||
color cyan "(^|[[:blank:]])\w+\("
|
|
||||||
color normal "\(|\)|\[|\]|,|=|\\="
|
|
||||||
|
|
||||||
# Atoms
|
|
||||||
color green start="\"" end="\""
|
|
||||||
color green start="'" end="'"
|
|
||||||
|
|
||||||
# Comments
|
|
||||||
color white "(^|[[:blank:]])%.*$"
|
|
||||||
color white start="/\*" end="\*/"
|
|
||||||
|
|
||||||
# Reminders
|
|
||||||
color black,yellow "(BUG|DEBUG|FIXME|IDEA|NOTE|REVIEW|TEMP|TODO|WARNING|XXX)"
|
|
||||||
|
|
||||||
# Spaces in front of tabs
|
|
||||||
color ,red " + +"
|
|
Loading…
x
Reference in New Issue
Block a user