1
0
forked from aniani/vim

patch 9.1.1320: filetype: alsoft config files are not recognized

Problem:  filetype: alsoft config files are not recognized
Solution: detect alsoft config files as dosini filetype
          (David Mandelberg)

References:
* code with paths to config: ReadALConfig() in
  https://github.com/kcat/openal-soft/blob/master/alc/alconfig.cpp
* example config:
  https://github.com/kcat/openal-soft/blob/master/alsoftrc.sample

closes: #17140

Signed-off-by: David Mandelberg <david@mandelberg.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
David Mandelberg
2025-04-18 11:41:44 +02:00
committed by Christian Brabandt
parent 98800979dc
commit 1d96caaa4b
3 changed files with 8 additions and 1 deletions

View File

@@ -239,7 +239,9 @@ def s:GetFilenameChecks(): dict<list<string>>
'.coveragerc', '.pypirc', '.gitlint', '.oelint.cfg', 'pylintrc', '.pylintrc',
'/home/user/.config/bpython/config', '/home/user/.config/mypy/config', '.wakatime.cfg', '.replyrc',
'psprint.conf', 'sofficerc', 'any/.config/lxqt/globalkeyshortcuts.conf', 'any/.config/screengrab/screengrab.conf',
'any/.local/share/flatpak/repo/config', '.notmuch-config', '.notmuch-config.myprofile',
'any/.local/share/flatpak/repo/config',
'.alsoftrc', 'alsoft.conf', 'alsoft.ini', 'alsoftrc.sample',
'.notmuch-config', '.notmuch-config.myprofile',
'~/.config/notmuch/myprofile/config'] + WhenConfigHome('$XDG_CONFIG_HOME/notmuch/myprofile/config'),
dot: ['file.dot', 'file.gv'],
dracula: ['file.drac', 'file.drc', 'file.lvs', 'file.lpe', 'drac.file'],