Mercurial > vim
comparison runtime/filetype.vim @ 33853:27bf2e1c3017 v9.0.2137
patch 9.0.2137: Can't detect angular & mustache filetypes
Commit: https://github.com/vim/vim/commit/7bed263c343c62129c5d8f51796895a28db1b312
Author: ObserverOfTime <chronobserver@disroot.org>
Date: Thu Nov 30 17:41:19 2023 +0100
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 30 Nov 2023 17:45:07 +0100 |
parents | 48299a9c33e3 |
children | f566fe683cad |
comparison
equal
deleted
inserted
replaced
33852:a44e1238a6d2 | 33853:27bf2e1c3017 |
---|---|
92 " AIDL | 92 " AIDL |
93 au BufNewFile,BufRead *.aidl setf aidl | 93 au BufNewFile,BufRead *.aidl setf aidl |
94 | 94 |
95 " AMPL | 95 " AMPL |
96 au BufNewFile,BufRead *.run setf ampl | 96 au BufNewFile,BufRead *.run setf ampl |
97 | |
98 " Angular in HTML | |
99 au BufNewFile,BufRead *.component.html setf html.angular | |
97 | 100 |
98 " Ant | 101 " Ant |
99 au BufNewFile,BufRead build.xml setf ant | 102 au BufNewFile,BufRead build.xml setf ant |
100 | 103 |
101 " Arduino | 104 " Arduino |
1395 au BufRead,BufNewFile *.mu setf mupad | 1398 au BufRead,BufNewFile *.mu setf mupad |
1396 | 1399 |
1397 " Mush | 1400 " Mush |
1398 au BufNewFile,BufRead *.mush setf mush | 1401 au BufNewFile,BufRead *.mush setf mush |
1399 | 1402 |
1403 " Mustache | |
1404 au BufNewFile,BufRead *.mustache setf mustache | |
1405 | |
1400 " Mutt setup file (also for Muttng) | 1406 " Mutt setup file (also for Muttng) |
1401 au BufNewFile,BufRead Mutt{ng,}rc setf muttrc | 1407 au BufNewFile,BufRead Mutt{ng,}rc setf muttrc |
1402 | 1408 |
1403 " N1QL | 1409 " N1QL |
1404 au BufRead,BufNewfile *.n1ql,*.nql setf n1ql | 1410 au BufRead,BufNewfile *.n1ql,*.nql setf n1ql |