mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.1.0188: filetype: no support for Vento files
Problem: Vento files are not recognized. Solution: Recognize *.vto files as filetype "vento" (wrapperup) Vento is a templating engine https://vento.js.org/ closes: #14229 Signed-off-by: wrapperup <wrapperup4@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
ec21bafc13
commit
9f26e5a9bc
@@ -2400,6 +2400,9 @@ au BufRead,BufNewFile *.vdmpp,*.vpp setf vdmpp
|
||||
au BufRead,BufNewFile *.vdmrt setf vdmrt
|
||||
au BufRead,BufNewFile *.vdmsl,*.vdm setf vdmsl
|
||||
|
||||
" Vento
|
||||
au BufNewFile,BufRead *.vto setf vento
|
||||
|
||||
" Vera
|
||||
au BufNewFile,BufRead *.vr,*.vri,*.vrh setf vera
|
||||
|
||||
|
@@ -779,6 +779,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
vdmpp: ['file.vpp', 'file.vdmpp'],
|
||||
vdmrt: ['file.vdmrt'],
|
||||
vdmsl: ['file.vdm', 'file.vdmsl'],
|
||||
vento: ['file.vto'],
|
||||
vera: ['file.vr', 'file.vri', 'file.vrh'],
|
||||
verilogams: ['file.va', 'file.vams'],
|
||||
vgrindefs: ['vgrindefs'],
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
188,
|
||||
/**/
|
||||
187,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user