From 4436c497ee311e32408f0826dc38fb44227f901a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 29 Aug 2021 19:07:39 +0300 Subject: [PATCH] lexers: add Debian user configuration file backups to ignored suffixes https://manpages.debian.b/bullseye/ucf/ucf.1.en.html --- lexers/internal/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lexers/internal/api.go b/lexers/internal/api.go index 5c7970a..567bf59 100644 --- a/lexers/internal/api.go +++ b/lexers/internal/api.go @@ -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