summaryrefslogtreecommitdiffstats
path: root/misc/syntax/debian-sources-list.syntax
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:12 +0000
commit8ccb487c21368a7fdc8c7c72315325bf0aa06147 (patch)
treeb2056fae01d325924508a41731edfbd4c3cddd23 /misc/syntax/debian-sources-list.syntax
parentInitial commit. (diff)
downloadmc-upstream.tar.xz
mc-upstream.zip
Adding upstream version 3:4.8.29.upstream/3%4.8.29upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--misc/syntax/debian-sources-list.syntax70
1 files changed, 70 insertions, 0 deletions
diff --git a/misc/syntax/debian-sources-list.syntax b/misc/syntax/debian-sources-list.syntax
new file mode 100644
index 0000000..1ae6b70
--- /dev/null
+++ b/misc/syntax/debian-sources-list.syntax
@@ -0,0 +1,70 @@
+context default
+ keyword linestart deb-src brightmagenta/20
+ keyword linestart deb brightmagenta/20
+
+ # Variables
+ keyword \$\(ARCH\) brightred/18
+
+ # Options (delimiters)
+ keyword [ yellow/24
+ keyword ] yellow/24
+
+
+# Options
+context exclusive [ ]
+ # Basic syntax elements
+ keyword ! yellow/24
+ keyword , yellow/24
+ keyword = yellow/24
+
+ # Known options
+ keyword whole arch white
+ keyword whole allow-downgrade-to-insecure white
+ keyword whole allow-insecure white
+ keyword whole allow-weak white
+ keyword whole by-hash white
+ keyword whole check-date white
+ keyword whole check-valid-until white
+ keyword whole date-max-future white
+ keyword whole inrelease-path white
+ keyword whole lang white
+ keyword whole pdiffs white
+ keyword whole signed-by white
+ keyword whole target white
+ keyword whole trusted white
+ keyword whole valid-until-max white
+ keyword whole valid-until-min white
+
+ # Known values
+ keyword whole force white
+ keyword whole no white
+ keyword whole yes white
+
+# Comment
+context # \n brown/22
+
+# Common URI specifications
+context cdrom\:\/ \s cyan/24
+context copy\: \s cyan/24
+context file\:\/ \s cyan/24
+context ftp\:\/\/ \s green/6
+context http\:\/\/ \s green/6
+context https\:\/\/ \s green/6
+context mirror\:\/\/ \s green/6
+context mirror\+cdrom\:\/ \s cyan/24
+context mirror\+copy\: \s cyan/24
+context mirror\+file\:\/ \s cyan/24
+context mirror\+ftp\:\/\/ \s green/6
+context mirror\+https\:\/\/ \s green/6
+context mirror\+rsh\:\/\/ \s green/6
+context mirror\+ssh\:\/\/ \s green/6
+context rsh\:\/\/ \s green/6
+context ssh\:\/\/ \s green/6
+
+# Other URI specifications
+context mirror\+s3\:\/\/ \s brightgreen/6
+context mirror\+tor\+http\:\/\/ \s brightgreen/6
+context mirror\+tor\+https\:\/\/ \s brightgreen/6
+context s3\:\/\/ \s brightgreen/6
+context tor\+http\:\/\/ \s brightgreen/6
+context tor\+https\:\/\/ \s brightgreen/6