mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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:
committed by
Christian Brabandt
parent
98800979dc
commit
1d96caaa4b
@ -1780,6 +1780,9 @@ au BufNewFile,BufRead .ondirrc setf ondir
|
||||
" OPAM
|
||||
au BufNewFile,BufRead opam,*.opam,*.opam.template,opam.locked,*.opam.locked setf opam
|
||||
|
||||
" OpenAL Soft config files
|
||||
au BufNewFile,BufRead .alsoftrc,alsoft.conf,alsoft.ini,alsoftrc.sample setf dosini
|
||||
|
||||
" OpenFOAM
|
||||
au BufNewFile,BufRead [a-zA-Z0-9]*Dict\(.*\)\=,[a-zA-Z]*Properties\(.*\)\=,*Transport\(.*\),fvSchemes,fvSolution,fvConstrains,fvModels,*/constant/g,*/0\(\.orig\)\=/* call dist#ft#FTfoam()
|
||||
|
||||
|
Reference in New Issue
Block a user