mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
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:
committed by
Christian Brabandt
parent
2b3566d89e
commit
cf5c255260
@ -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
|
||||
|
||||
Reference in New Issue
Block a user