diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-11-07 22:28:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 22:28:28 +0100 |
commit | 050b0e30b9d8a073a3b421a6cebd878226249ab6 (patch) | |
tree | 61c0f5f7ab671ec3b69c4c4b8bf1a635097898d7 | |
parent | 059dfda0caef85688c2b555ec8379e86721e50fd (diff) | |
download | rneovim-050b0e30b9d8a073a3b421a6cebd878226249ab6.tar.gz rneovim-050b0e30b9d8a073a3b421a6cebd878226249ab6.tar.bz2 rneovim-050b0e30b9d8a073a3b421a6cebd878226249ab6.zip |
vim-patch:9.0.0843: VHS tape files are not recognized (#20995)
Problem: VHS tape files are not recognized.
Solution: Add a filetype pattern. (Carlos Alexandro Becker, closes vim/vim#11452)
https://github.com/vim/vim/commit/1756f4b21837e8596241ecd668f4abbbab4bc7e5
Co-authored-by: Carlos A Becker <caarlos0@users.noreply.github.com>
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 | ||||
-rw-r--r-- | src/nvim/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 index 56659eff04..5aa968e211 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1057,6 +1057,7 @@ local extension = { hdl = 'vhdl', vho = 'vhdl', vbe = 'vhdl', + tape = 'vhs', vim = 'vim', vba = 'vim', mar = 'vmasm', diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim index c6f90604e5..69508cb19e 100644 --- a/src/nvim/testdir/test_filetype.vim +++ b/src/nvim/testdir/test_filetype.vim @@ -612,6 +612,7 @@ let s:filename_checks = { \ 'verilogams': ['file.va', 'file.vams'], \ 'vgrindefs': ['vgrindefs'], \ 'vhdl': ['file.hdl', 'file.vhd', 'file.vhdl', 'file.vbe', 'file.vst', 'file.vhdl_123', 'file.vho', 'some.vhdl_1', 'some.vhdl_1-file'], + \ 'vhs': ['file.tape'], \ 'vim': ['file.vim', 'file.vba', '.exrc', '_exrc', 'some-vimrc', 'some-vimrc-file', 'vimrc', 'vimrc-file'], \ 'viminfo': ['.viminfo', '_viminfo'], \ 'vmasm': ['file.mar'], |