patch 9.1.0188: filetype: no support for Vento files

Commit: 
https://github.com/vim/vim/commit/9f26e5a9bcedb3caef26e9d77849ea37a3626bbf
Author: wrapperup <[email protected]>
Date:   Tue Mar 19 18:06:22 2024 +0100

    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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index fd9ba2c69..0f8ac8b9f 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -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
 
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index ed7e6b953..94f5812b5 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -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'],
diff --git a/src/version.c b/src/version.c
index ca4ca563e..db093a7e4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    188,
 /**/
     187,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rmd3L-00BLHt-UT%40256bit.org.

Raspunde prin e-mail lui