vim-patch:9.1.0188: filetype: no support for Vento files (#27935)

Problem:  Vento files are not recognized.
Solution: Recognize *.vto files as filetype "vento" (wrapperup)

Vento is a templating engine https://vento.js.org/

closes: vim/vim#14229

9f26e5a9bc

Co-authored-by: wrapperup <wrapperup4@gmail.com>
This commit is contained in:
Christian Clason 2024-03-19 22:31:44 +01:00 committed by GitHub
parent e39d9636af
commit 4694ce6877
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -1063,6 +1063,7 @@ local extension = {
vdmrt = 'vdmrt',
vdmsl = 'vdmsl',
vdm = 'vdmsl',
vto = 'vento',
vr = 'vera',
vri = 'vera',
vrh = 'vera',

View File

@ -701,6 +701,7 @@ func s:GetFilenameChecks() abort
\ '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'],