Patch 9.0.1346
Problem: Starlark files are not recognized.
Solution: Add patterns for Starlark files. (Amaan Qureshi, closes #12049)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-9.0.1345/runtime/filetype.vim 2023-02-21 15:18:47.093841605 +0000
--- runtime/filetype.vim 2023-02-23 15:31:48.302165628 +0000
***************
*** 2025,2030 ****
--- 2025,2033 ----
au BufNewFile,BufRead sshd_config setf sshdconfig
au BufNewFile,BufRead */etc/ssh/sshd_config.d/*.conf setf sshdconfig
+ " Starlark
+ au BufNewFile,BufRead *.ipd,*.star,*.starlark setf starlark
+
" OpenVPN configuration
au BufNewFile,BufRead *.ovpn setf openvpn
au BufNewFile,BufRead */openvpn/*/*.conf setf openvpn
*** ../vim-9.0.1345/src/testdir/test_filetype.vim 2023-02-21 15:18:47.097841611 +0000
--- src/testdir/test_filetype.vim 2023-02-23 15:31:48.302165628 +0000
***************
*** 559,564 ****
--- 559,565 ----
\ 'sshconfig': ['ssh_config', '/.ssh/config', '/etc/ssh/ssh_config.d/file.conf', 'any/etc/ssh/ssh_config.d/file.conf', 'any/.ssh/config', 'any/.ssh/file.conf'],
\ 'sshdconfig': ['sshd_config', '/etc/ssh/sshd_config.d/file.conf', 'any/etc/ssh/sshd_config.d/file.conf'],
\ 'st': ['
file.st'],
+ \ 'starlark': ['file.ipd', 'file.star', 'file.starlark'],
\ 'stata': ['file.ado', 'file.do', 'file.imata', 'file.mata'],
\ 'stp': ['file.stp'],
\ 'sudoers': ['any/etc/sudoers', 'sudoers.tmp', '/etc/sudoers', 'any/etc/sudoers.d/file'],
*** ../vim-9.0.1345/src/version.c 2023-02-23 15:05:18.921676846 +0000
--- src/version.c 2023-02-23 15:33:08.825698399 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1346,
/**/
--
Living in Hollywood is like living in a bowl of granola. What ain't
fruits and nuts is flakes.
/// Bram Moolenaar -- Br...@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 ///