To: vim_dev@googlegroups.com Subject: Patch 9.0.1014 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1014 Problem: Zir files are not recognized. Solution: Add a pattern for Zir files. (closes #11664) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1013/runtime/filetype.vim 2022-11-26 13:03:16.607914472 +0000 --- runtime/filetype.vim 2022-12-05 21:37:39.379161173 +0000 *************** *** 1855,1862 **** " (patterns ending in a start further below) au BufNewFile,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias call dist#ft#CSH() ! " Zig au BufNewFile,BufRead *.zig setf zig " Z-Shell script (patterns ending in a star further below) au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh --- 1855,1863 ---- " (patterns ending in a start further below) au BufNewFile,BufRead .login,.cshrc,csh.cshrc,csh.login,csh.logout,*.csh,.alias call dist#ft#CSH() ! " Zig and Zir (Zig Intermediate Representation) au BufNewFile,BufRead *.zig setf zig + au BufNewFile,BufRead *.zir setf zir " Z-Shell script (patterns ending in a star further below) au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh *** ../vim-9.0.1013/src/testdir/test_filetype.vim 2022-11-26 13:03:16.607914472 +0000 --- src/testdir/test_filetype.vim 2022-12-05 21:39:16.747144118 +0000 *************** *** 652,657 **** --- 652,658 ---- \ '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'], *** ../vim-9.0.1013/src/version.c 2022-12-05 21:21:42.799308158 +0000 --- src/version.c 2022-12-05 21:38:31.379151838 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1014, /**/ -- Married is a three ring circus: First comes the engagement ring. Then comes the wedding ring. Then comes the suffering. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///