diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2022-12-05 15:54:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 15:54:32 -0700 |
commit | 0ff9131a925dfc94cf0ce787578ee6e3c5e673d7 (patch) | |
tree | b51d75347d77eb78baedea39fb1c48a3a8615a74 | |
parent | f3bf1fbf600050fde155e6a1a766b6f848012208 (diff) | |
download | rneovim-0ff9131a925dfc94cf0ce787578ee6e3c5e673d7.tar.gz rneovim-0ff9131a925dfc94cf0ce787578ee6e3c5e673d7.tar.bz2 rneovim-0ff9131a925dfc94cf0ce787578ee6e3c5e673d7.zip |
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>
-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 e017843548..58acca42f7 100644 --- 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 index 5ffddb7925..88f0c74d37 100644 --- 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'], |