0
0
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:
wrapperup
2024-03-19 18:06:22 +01:00
committed by Christian Brabandt
parent ec21bafc13
commit 9f26e5a9bc
3 changed files with 6 additions and 0 deletions

View File

@@ -2400,6 +2400,9 @@ au BufRead,BufNewFile *.vdmpp,*.vpp setf vdmpp
au BufRead,BufNewFile *.vdmrt setf vdmrt au BufRead,BufNewFile *.vdmrt setf vdmrt
au BufRead,BufNewFile *.vdmsl,*.vdm setf vdmsl au BufRead,BufNewFile *.vdmsl,*.vdm setf vdmsl
" Vento
au BufNewFile,BufRead *.vto setf vento
" Vera " Vera
au BufNewFile,BufRead *.vr,*.vri,*.vrh setf vera au BufNewFile,BufRead *.vr,*.vri,*.vrh setf vera

View File

@@ -779,6 +779,7 @@ def s:GetFilenameChecks(): dict<list<string>>
vdmpp: ['file.vpp', 'file.vdmpp'], vdmpp: ['file.vpp', 'file.vdmpp'],
vdmrt: ['file.vdmrt'], vdmrt: ['file.vdmrt'],
vdmsl: ['file.vdm', 'file.vdmsl'], vdmsl: ['file.vdm', 'file.vdmsl'],
vento: ['file.vto'],
vera: ['file.vr', 'file.vri', 'file.vrh'], vera: ['file.vr', 'file.vri', 'file.vrh'],
verilogams: ['file.va', 'file.vams'], verilogams: ['file.va', 'file.vams'],
vgrindefs: ['vgrindefs'], vgrindefs: ['vgrindefs'],

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
188,
/**/ /**/
187, 187,
/**/ /**/