fzf added to the bashrc
[dotfiles/.git] / .nano / prolog.nanorc
1 ## Here is a prolog example.
2
3 syntax prolog "\.pl"
4 comment "%"
5
6 # Reset everything
7 color normal ".*"
8
9 # Integers and floats
10 color yellow "(^| |=)[0-9]+\.?[0-9]*"
11
12 # Variables
13 color red "(^|[[:blank:]]|\(|,)[A-Z]+"
14 color red "(^|[[:blank:]]|\(|,)_[0-9a-zA-Z_]+($|[[:blank:]]|,|\))"
15
16 # Anonymous variable '_'
17 color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))"
18
19 # Functions
20 color cyan "(^|[[:blank:]])\w+\("
21 color normal "\(|\)|\[|\]|,|=|\\="
22
23 # Atoms
24 color green start="\"" end="\""
25 color green start="'" end="'"
26
27 # Comments
28 color white "(^|[[:blank:]])%.*$"
29 color white start="/\*" end="\*/"
30
31 # Reminders
32 color black,yellow "(BUG|DEBUG|FIXME|IDEA|NOTE|REVIEW|TEMP|TODO|WARNING|XXX)"
33
34 # Spaces in front of tabs
35 color ,red " +  +"