summaryrefslogtreecommitdiff
path: root/.config/nano/gophermap.nanorc
blob: 7c868e29fa3fe1c40e5ce381a2718b604ae6124e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## syntax for gophernicus gophermaps

syntax gophermap "\.(gophermap|gph)$"


# Port Numbers
color yellow "^.[ -~]*.[ -~]*.[ -~]*.[ -~]+"

# Domains
color red "^.[ -~]*.[ -~]*.[ -~]+"

# Resource Path (no directories)
color green "^[^1][ -~]*.[ -~]*"

# Directories (w/ Name)
color brightmagenta "^1[ -~]*.[ -~]*"

# Names
color brightblue "^[ -~]+."

# Directories (w/o Name)
color brightyellow "^1[ -~]+.$"

# URLs
color brightcyan "URL:.*"


# Types

# General
color magenta "^."

# HTML & Interactive Content
color brightcyan "^(h|7|8)"

# Info Text
color cyan "^i.*"
color cyan "^[ -~]*$"
color blue "^i"

# Special Tags & Characters
color brightgreen "^(!|-|:|~|%|=|\*|\.).*"

# Comments
color white,blue "#.*"