patch 9.2.0201: filetype: Wireguard config files not recognized

Problem:  filetype: Wireguard config files not recognized
Solution: Detect /etc/wireguard/*.conf files as dosini filetype
          (Furkan Sahin).

closes: #19751

Signed-off-by: Furkan Sahin <furkan-dev@proton.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Furkan Sahin
2026-03-19 19:28:39 +00:00
committed by Christian Brabandt
parent 1da42ee271
commit cc8798e719
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -256,6 +256,7 @@ def s:GetFilenameChecks(): dict<list<string>>
'psprint.conf', 'sofficerc', 'any/.config/lxqt/globalkeyshortcuts.conf', 'any/.config/screengrab/screengrab.conf',
'any/.local/share/flatpak/repo/config',
'.alsoftrc', 'alsoft.conf', 'alsoft.ini', 'alsoftrc.sample',
'/etc/wireguard/wg0.conf',
'.notmuch-config', '.notmuch-config.myprofile',
'~/.config/notmuch/myprofile/config'] + WhenConfigHome('$XDG_CONFIG_HOME/notmuch/myprofile/config'),
dot: ['file.dot', 'file.gv'],
+2
View File
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
201,
/**/
200,
/**/