1
0
forked from aniani/vim

patch 9.0.2137: Can't detect angular & mustache filetypes

Problem:  Can't detect angular & mustache filetypes
Solution: Detect *.mustache as Mustache filetype;
          detect *.component.html as html.angular filetype

closes: #13594

Signed-off-by: ObserverOfTime <chronobserver@disroot.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
ObserverOfTime
2023-11-30 17:41:19 +01:00
committed by Christian Brabandt
parent 110dd905dd
commit 7bed263c34
3 changed files with 10 additions and 0 deletions

View File

@@ -95,6 +95,9 @@ au BufNewFile,BufRead *.aidl setf aidl
" AMPL
au BufNewFile,BufRead *.run setf ampl
" Angular in HTML
au BufNewFile,BufRead *.component.html setf html.angular
" Ant
au BufNewFile,BufRead build.xml setf ant
@@ -1397,6 +1400,9 @@ au BufRead,BufNewFile *.mu setf mupad
" Mush
au BufNewFile,BufRead *.mush setf mush
" Mustache
au BufNewFile,BufRead *.mustache setf mustache
" Mutt setup file (also for Muttng)
au BufNewFile,BufRead Mutt{ng,}rc setf muttrc