mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
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: vim/vim#17140
1d96caaa4b
Co-authored-by: David Mandelberg <david@mandelberg.org>
This commit is contained in:

committed by
Christian Clason

parent
1b0dedb81c
commit
255bf6e5b1
@@ -1548,6 +1548,10 @@ local filename = {
|
||||
['nfs.conf'] = 'dosini',
|
||||
['nfsmount.conf'] = 'dosini',
|
||||
['.notmuch-config'] = 'dosini',
|
||||
['.alsoftrc'] = 'dosini',
|
||||
['alsoft.conf'] = 'dosini',
|
||||
['alsoft.ini'] = 'dosini',
|
||||
['alsoftrc.sample'] = 'dosini',
|
||||
['pacman.conf'] = 'confini',
|
||||
['paru.conf'] = 'confini',
|
||||
['mpv.conf'] = 'confini',
|
||||
|
@@ -239,7 +239,9 @@ func s:GetFilenameChecks() abort
|
||||
\ '.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'] + s:WhenConfigHome('$XDG_CONFIG_HOME/notmuch/myprofile/config'),
|
||||
\ 'dot': ['file.dot', 'file.gv'],
|
||||
\ 'dracula': ['file.drac', 'file.drc', 'file.lvs', 'file.lpe', 'drac.file'],
|
||||
|
Reference in New Issue
Block a user