mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 21:40:12 +02:00
Maintan nano v2.7.x compatbility
This commit is contained in:
parent
bdb317ee11
commit
e1661ccc6d
@ -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 brightwhite ".*"
|
||||||
|
|
||||||
# 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 brightwhite "\(|\)|\[|\]|,|=|\\="
|
||||||
|
|
||||||
# Atoms
|
# Atoms
|
||||||
color green start="\"" end="\""
|
color green start="\"" end="\""
|
||||||
@ -32,4 +32,4 @@ color white start="/\*" end="\*/"
|
|||||||
color black,yellow "(BUG|DEBUG|FIXME|IDEA|NOTE|REVIEW|TEMP|TODO|WARNING|XXX)"
|
color black,yellow "(BUG|DEBUG|FIXME|IDEA|NOTE|REVIEW|TEMP|TODO|WARNING|XXX)"
|
||||||
|
|
||||||
# Spaces in front of tabs
|
# Spaces in front of tabs
|
||||||
color ,red " + +"
|
color ,red " + +"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user