commit 0ff9131a925dfc94cf0ce787578ee6e3c5e673d7
parent f3bf1fbf600050fde155e6a1a766b6f848012208
Author: Gregory Anders <8965202+gpanders@users.noreply.github.com>
Date: Mon, 5 Dec 2022 15:54:32 -0700
vim-patch:9.0.1014: zir files are not recognized (#21301)
Problem: Zir files are not recognized.
Solution: Add a pattern for Zir files. (closes vim/vim#11664)
https://github.com/vim/vim/commit/25201016d5043954689a4c9f7833935294149404
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
@@ -1122,6 +1122,7 @@ local extension = {
yang = 'yang',
['z8a'] = 'z8a',
zig = 'zig',
+ zir = 'zir',
zu = 'zimbu',
zut = 'zimbutempl',
zsh = 'zsh',
diff --git a/src/nvim/testdir/test_filetype.vim b/src/nvim/testdir/test_filetype.vim
@@ -653,6 +653,7 @@ let s:filename_checks = {
\ 'zig': ['file.zig'],
\ 'zimbu': ['file.zu'],
\ 'zimbutempl': ['file.zut'],
+ \ 'zir': ['file.zir'],
\ 'zsh': ['.zprofile', '/etc/zprofile', '.zfbfmarks', 'file.zsh', '.zcompdump', '.zlogin', '.zlogout', '.zshenv', '.zshrc', '.zcompdump-file', '.zlog', '.zlog-file', '.zsh', '.zsh-file', 'any/etc/zprofile', 'zlog', 'zlog-file', 'zsh', 'zsh-file'],
\
\ 'help': [$VIMRUNTIME . '/doc/help.txt'],