Patch 8.2.3769
Problem: Zig files are not recognized.
Solution: Add *.zig. (Gregory Anders, closes #9313)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.3768/runtime/filetype.vim 2021-12-03 19:24:38.155618704
+0000
--- runtime/filetype.vim 2021-12-09 20:48:23.683845597 +0000
***************
*** 1650,1655 ****
--- 1650,1658 ----
" (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
au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh
*** ../vim-8.2.3768/src/testdir/test_filetype.vim 2021-12-03
19:24:38.159618697 +0000
--- src/testdir/test_filetype.vim 2021-12-09 20:48:44.863762175 +0000
***************
*** 503,509 ****
\ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'],
\ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'],
\ 'texmf': ['texmf.cnf'],
! \ 'text': ['file.text', 'README', 'LICENSE', 'COPYING', 'AUTHORS',
'/usr/share/doc/bash-completion/AUTHORS', '/etc/apt/apt.conf.d/README',
'/etc/Muttrc.d/README'],
\ 'tf': ['file.tf', '.tfrc', 'tfrc'],
\ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'],
\ 'tilde': ['file.t.html'],
--- 503,509 ----
\ 'tex': ['file.latex', 'file.sty', 'file.dtx', 'file.ltx', 'file.bbl'],
\ 'texinfo': ['file.texinfo', 'file.texi', 'file.txi'],
\ 'texmf': ['texmf.cnf'],
! \ 'text': ['file.text', 'file.txt', 'README', 'LICENSE', 'COPYING',
'AUTHORS', '/usr/share/doc/bash-completion/AUTHORS',
'/etc/apt/apt.conf.d/README', '/etc/Muttrc.d/README'],
\ 'tf': ['file.tf', '.tfrc', 'tfrc'],
\ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'],
\ 'tilde': ['file.t.html'],
***************
*** 569,574 ****
--- 569,575 ----
\ 'yaml': ['file.yaml', 'file.yml'],
\ 'raml': ['file.raml'],
\ 'z8a': ['file.z8a'],
+ \ 'zig': ['file.zig'],
\ 'zimbu': ['file.zu'],
\ 'zimbutempl': ['file.zut'],
\ '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'],
*** ../vim-8.2.3768/src/version.c 2021-12-09 18:42:54.029929797 +0000
--- src/version.c 2021-12-09 20:50:35.479344729 +0000
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 3769,
/**/
--
hundred-and-one symptoms of being an internet addict:
24. You realize there is not a sound in the house and you have no idea where
your children are.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211209210944.E8ED21C0B28%40moolenaar.net.