patch 9.1.1962: filetype: Erlang application resource files are not recognized

Problem:  filetype: Erlang application resource files are not recognized
Solution: Add content-based filetype detection for application resource
          files matching extension '*.app' (Doug Kearns)

related: #18835
closes:  #18842

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Doug Kearns
2025-12-07 19:12:33 +01:00
committed by Christian Brabandt
parent 2b3566d89e
commit cf5c255260
5 changed files with 59 additions and 3 deletions

View File

@ -427,8 +427,9 @@ au BufNewFile,BufRead *.e,*.E call dist#ft#FTe()
" Elm Filter Rules file
au BufNewFile,BufRead filter-rules setf elmfilt
" Erlang
" Erlang Application Resource Files
au BufNewFile,BufRead *.app.src setf erlang
au BufNewFile,BufRead *.app call dist#ft#FTapp()
" ESMTP rc file
au BufNewFile,BufRead *esmtprc setf esmtprc