mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
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: vim/vim#13594
7bed263c34
This commit is contained in:

committed by
Christian Clason

parent
7feed6ccb7
commit
307d5bcc79
@@ -695,6 +695,7 @@ local extension = {
|
||||
msql = 'msql',
|
||||
mu = 'mupad',
|
||||
mush = 'mush',
|
||||
mustache = 'mustache',
|
||||
mysql = 'mysql',
|
||||
n1ql = 'n1ql',
|
||||
nql = 'n1ql',
|
||||
@@ -1716,6 +1717,7 @@ local pattern = {
|
||||
['.*/etc/host%.conf'] = 'hostconf',
|
||||
['.*/etc/hosts%.deny'] = 'hostsaccess',
|
||||
['.*/etc/hosts%.allow'] = 'hostsaccess',
|
||||
['.*%.component%.html'] = 'html.angular',
|
||||
['.*%.html%.m4'] = 'htmlm4',
|
||||
['.*/%.i3/config'] = 'i3config',
|
||||
['.*/i3/config'] = 'i3config',
|
||||
|
Reference in New Issue
Block a user