neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 4694ce68774dd63a63e39009b4a887ac08636987
parent e39d9636afa287c867e8584b54e68bb51b082f81
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Tue, 19 Mar 2024 22:31:44 +0100

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

https://github.com/vim/vim/commit/9f26e5a9bcedb3caef26e9d77849ea37a3626bbf

Co-authored-by: wrapperup <wrapperup4@gmail.com>
Diffstat:
Mruntime/lua/vim/filetype.lua | 1+
Mtest/old/testdir/test_filetype.vim | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua @@ -1063,6 +1063,7 @@ local extension = { vdmrt = 'vdmrt', vdmsl = 'vdmsl', vdm = 'vdmsl', + vto = 'vento', vr = 'vera', vri = 'vera', vrh = 'vera', diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim @@ -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'],