1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-17 20:58:08 +02:00

lexers: add Debian user configuration file backups to ignored suffixes

https://manpages.debian.b/bullseye/ucf/ucf.1.en.html
This commit is contained in:
Ville Skyttä 2021-08-29 19:07:39 +03:00 committed by Alec Thomas
parent 26f16a6f7c
commit 4436c497ee

View File

@ -15,8 +15,8 @@ var (
ignoredSuffixes = [...]string{
// Editor backups
"~", ".bak", ".old", ".orig",
// Debian and derivatives apt/dpkg backups
".dpkg-dist", ".dpkg-old",
// Debian and derivatives apt/dpkg/ucf backups
".dpkg-dist", ".dpkg-old", ".ucf-dist", ".ucf-new", ".ucf-old",
// Red Hat and derivatives rpm backups
".rpmnew", ".rpmorig", ".rpmsave",
// Build system input/template files